OFFSET
1,10
MATHEMATICA
Table[PrimePi[(n+1/4)^2]-PrimePi[n^2], {n, 110}] (* Harvey P. Dale, Jun 17 2018 *)
PROG
(PARI) pbetweensq2(n) = { for(x=1, n, c=0; for(y=floor(x)^2, (x+1/4)^2, if(isprime(y), c++) ); print1(c", ") ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 30 2003
STATUS
approved