OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..24 (terms 1..23 from Gord Palameta)
Tomás Oliveira e Silva, Tables of values of pi(x) and of pi2(x).
FORMULA
EXAMPLE
There are 11 primes < 2^prime(3) = 2^5, so a(3) = 11.
MATHEMATICA
Table[ PrimePi[ 2^Prime[n]], {n, 1, 14}]
PROG
(PARI) a(n) = primepi(2^prime(n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jul 28 2003
EXTENSIONS
Extended by Robert G. Wilson v, Jul 30 2003
Revised by Max Alekseyev, Jul 20 2007
STATUS
approved