login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A089332
a(n) = floor(10*(primepi((n+1)^2) - primepi(n^2) - 2*n/sqrt(n)+4)).
0
30, 15, 31, 17, 23, 10, 26, 13, 20, 17, 5, 22, 30, 7, 15, 12, 20, 18, 16, 4, 32, 20, 8, 16, 24, 12, 10, 28, 16, 25, 13, 21, 10, 8, 36, 25, 33, 21, 0, 28, 17, 35, 4, 32, 51, 0, 8, 47, 55, 14, 23, 1, 10, 59, 17, 46, 45, 13, 52, 31, 20, 38, 27, 26, 45, 3, 82, 21, 20, 39, 37, 46, 85, 4, 43, 92, -9, 60, 48, 57, 26, 15, 64, 73, 32, 31, 50, 49, 38
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
Sequence in context: A070293 A194709 A070657 * A040873 A070891 A033971
KEYWORD
sign,less
AUTHOR
Roger L. Bagula, Jan 03 2004
STATUS
approved