cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A112719 Numbers m such that pi(m) = d_1^1 + d_2^2 + ... + d_k^k where d_1 d_2 ... d_k is the decimal expansion of m.

This page as a plain text file.
%I A112719 #19 Jul 21 2025 21:41:20
%S A112719 0,12,160,253,382,3664,4683,9285,66290,207735,390481,3748380,7884391,
%T A112719 9136095,11187665,12690170,15008945,32067066,34152082,43470982,
%U A112719 311506482,315458182,317195680,317583584,789530607,803190747,818360167
%N A112719 Numbers m such that pi(m) = d_1^1 + d_2^2 + ... + d_k^k where d_1 d_2 ... d_k is the decimal expansion of m.
%C A112719 This sequence is finite and the largest term is less than 10^73.
%e A112719 43470982 is in the sequence because pi(43470982) = 4^1 + 3^2 + 4^3 + 7^4 + 0^5 + 9^6 + 8^7 + 2^8 = 2631327.
%t A112719 Do[d=IntegerDigits[n];k=Length[d];If[PrimePi[n]==Sum[d[[j]]^j, {j, k}], Print[n]], {n, 0, 170000000}]
%Y A112719 Cf. A000720, A032799, A112718, A112720.
%K A112719 base,fini,nonn
%O A112719 1,2
%A A112719 _Farideh Firoozbakht_, Sep 17 2005
%E A112719 a(21)-a(27) from _Donovan Johnson_, Nov 09 2010