OFFSET
0,5
LINKS
Ray Chandler, Table of n, a(n) for n = 0..125 (terms 0..63 from Harry J. Smith, terms 64..112 from Hiroaki Yamanouchi)
FORMULA
a(2*n) = A007053(n). - Amiram Eldar, Jul 10 2024
EXAMPLE
For n = 8, the squared primes not exceeding 256 are 4, 9, 25, 49, 121, 169 so a(8) = 6.
MATHEMATICA
Table[ PrimePi[ Floor[ 2^(g/2)//N ] ], {g, 1, 75} ]
PROG
(PARI) a(n) = { primepi(sqrtint(2^n)) } \\ Harry J. Smith, Jul 15 2009
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Labos Elemer, May 09 2001
EXTENSIONS
a(0) prepended by Harry J. Smith, Jul 15 2009
STATUS
approved