|
Search: id:A101225
|
|
|
| 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
|
|
|
Search completed in 0.002 seconds
|