login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112719 Numbers n such that pi(n)=d_1^1+d_2^2+...+d_k^k where d_1 d_2 ... d_k is the decimal expansion of n. 3
0, 12, 160, 253, 382, 3664, 4683, 9285, 66290, 207735, 390481, 3748380, 7884391, 9136095, 11187665, 12690170, 15008945, 32067066, 34152082, 43470982, 311506482, 315458182, 317195680, 317583584, 789530607, 803190747, 818360167 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

This sequence is finite and the largest term is less than 10^73.

LINKS

Table of n, a(n) for n=1..27.

EXAMPLE

43470982 is in the sequence because pi(43470982)=4^1+3^2+4^3

+7^4+0^5+9^6+8^7+2^8.

MATHEMATICA

Do[d=IntegerDigits[n]; k=Length[d]; If[PrimePi[n]==Sum[d[[j]]^j, {j, k}], Print[n]], {n, 0, 170000000}]

CROSSREFS

Cf. A032799, A112718, A112720.

Sequence in context: A226297 A286721 A349154 * A091019 A355844 A219418

Adjacent sequences:  A112716 A112717 A112718 * A112720 A112721 A112722

KEYWORD

base,fini,nonn

AUTHOR

Farideh Firoozbakht, Sep 17 2005

EXTENSIONS

a(21)-a(27) from Donovan Johnson, Nov 09 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 5 03:25 EDT 2022. Contains 357240 sequences. (Running on oeis4.)