OFFSET
0,3
LINKS
Jon E. Schoenfield, Table of n, a(n) for n = 0..43 (using the terms from the b-file at A007053)
FORMULA
EXAMPLE
For n=3 one has PrimePi(4^3)-PrimePi(2^3) = 18-4 = 14.
MAPLE
with(numtheory): A248957:=n->pi(4^n)-pi(2^n): seq(A248957(n), n=0..12); # Wesley Ivan Hurt, Oct 17 2014
MATHEMATICA
Table[PrimePi[4^n] - PrimePi[2^n], {n, 0, 15}] (* Wesley Ivan Hurt, Oct 17 2014 *)
PROG
(PARI) a(n) = primepi(4^n) - primepi(2^n); \\ Altug Alkan, Apr 14 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Oussama Moutaoikil, Oct 17 2014
EXTENSIONS
a(15)-a(16) from Jon E. Schoenfield, Oct 22 2014
a(17)-a(26) from Chai Wah Wu, Apr 14 2018
STATUS
approved