Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101225
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101225 Numbers formed by the third nesting of pi(10^n). +0
3
1, 4, 12, 46, 194, 977, 5492, 33666, 220068, 1513371, 10833076, 80104927, 608455060, 4726881850, 37431015268 (list; graph; listen)
OFFSET

1,2

FORMULA

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

EXAMPLE

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

MATHEMATICA

f[n_] := Nest[PrimePi, 10^n, 3]; Table[ f[n], {n, 13}] (from Robert G. Wilson v Dec 20 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.

Sequence in context: A126202 A149373 A151464 this_sequence A000775 A149374 A149375

Adjacent sequences: A101222 A101223 A101224 this_sequence A101226 A101227 A101228

KEYWORD

nonn

AUTHOR

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

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 20 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 November 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research