OFFSET
1,2
LINKS
Eduard Roure Perdices, Table of n, a(n) for n = 1..29
C. Caldwell's Prime Pages, A Table of values of pi(x).
X. Gourdon, A Table of values of pi(x).
FORMULA
a(1)=1; a(n) = pi(10^(n-1)) + 1 for n > 1 where pi(x) is the number of primes less than x. - C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 26 2004
a(n) = A006880(n-1) + 1, for n >= 1. - Eduard Roure Perdices, Apr 18 2021
MATHEMATICA
Table[PrimePi[NextPrime[10^n]], {n, 0, 14}] (* This generates the first 15 terms of the sequence, but Mathematica cannot generate the 16th term using this program. *) (* Harvey P. Dale, May 12 2019 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 25 2003
EXTENSIONS
Corrected and extended by C. Ronaldo (aga_new_ac(AT)hotmail.com), Dec 26 2004
Extended by Eduard Roure Perdices, Apr 18 2021
STATUS
approved