Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101226
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101226 Numbers formed by the fourth nesting of pi(10^n). +0
2
0, 2, 5, 14, 44, 165, 725, 3607, 19624, 115127, 716177, 4675144, 31743253 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n) = pi(pi(pi(pi(10^n)))) where pi(x) is the number of primes LE x.

EXAMPLE

a(3) = pi(pi(pi(pi(10^3)))) = 5, the third entry in the table.

MATHEMATICA

f[n_] := Nest[PrimePi, 10^n, 4]; Table[ f[n], {n, 13}] (from Robert G. Wilson v Dec 21 2004)

PROGRAM

(PARI) nestpi(n, m) = { local(x, y, z); for(x=1, n, z=10^x; for(y=1, m, z=pi(z)); print1(z", ")) } pi(n) = \pi(n) Prime count function { local(c, x); c=0; forprime(x=1, n, c++); return(c) }

CROSSREFS

Cf. A006880, A096359, A101225.

Sequence in context: A095148 A060996 A134378 this_sequence A030126 A149887 A149888

Adjacent sequences: A101223 A101224 A101225 this_sequence A101227 A101228 A101229

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Dec 15 2004

EXTENSIONS

a(10)-a(14) from Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 21 2004

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research