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!)
A101184 a(n) = n + pi(n) + pi(pi(n)) + pi(pi(pi(n))) + pi(pi(pi(pi(n)))) + ... 2
1, 3, 6, 7, 11, 12, 14, 15, 16, 17, 22, 23, 25, 26, 27, 28, 31, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 46, 47, 53, 54, 55, 56, 57, 58, 60, 61, 62, 63, 66, 67, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 90, 91, 93, 94, 95, 96, 97, 98, 101, 102, 103, 104 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
f[n_] := Plus @@ FixedPointList[ PrimePi, n]; Table[ f[n], {n, 70}]
PROG
(PARI) a(n) = { my (v=0); while (n, v+=n; n=primepi(n)); v } \\ Rémy Sigrist, Jun 07 2020
CROSSREFS
Cf. A000720, Complement in A101185.
Sequence in context: A292046 A051146 A136272 * A087643 A248150 A022544
KEYWORD
nonn
AUTHOR
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 April 19 15:11 EDT 2024. Contains 371794 sequences. (Running on oeis4.)