OFFSET
1,1
FORMULA
a(n) = floor(10*(primepi((n+1)^2) - primepi(n^2) - 2*n/sqrt(n)+4)).
MATHEMATICA
digits=5*200
a=Table[Floor[10*(PrimePi[(n+1)^2]-PrimePi[n^2]-2*n/Sqrt[n]+4)], {n, 4, digits}]
CROSSREFS
KEYWORD
sign,less
AUTHOR
Roger L. Bagula, Jan 03 2004
STATUS
approved