OFFSET
1,1
LINKS
C. Caldwell's Prime Pages, A Table of values of pi(x).
EXAMPLE
a(1)=2 because under 10^1 there are 4 primes, and least prime divisor = 2.
a(4)=1229 because under 10^4 there are 1229 primes and that number, being prime, is its own least prime divisor.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Enoch Haga, May 16 2009
EXTENSIONS
Edited by Ray Chandler, May 20 2009
a(24)-a(27) added using data from Caldwell's page and A006880 by Chai Wah Wu, Apr 27 2018
a(28) obtained using A006880. - Eduard Roure Perdices, Apr 16 2021
a(29) obtained using A006880. - Eduard Roure Perdices, Dec 27 2022
STATUS
approved