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”).

A089611
Number of primes between n^2 and (n+1/3)^2.
0
0, 1, 1, 1, 0, 1, 1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 1, 1, 2, 2, 2, 2, 1, 2, 2, 3, 3, 2, 3, 3, 3, 3, 5, 2, 3, 5, 2, 4, 3, 6, 3, 4, 5, 2, 4, 5, 4, 3, 3, 3, 4, 6, 4, 3, 4, 4, 5, 4, 4, 6, 4, 6, 4, 5, 7, 5, 6, 7, 6, 7, 5, 5, 3, 8, 8, 7, 2, 7, 7, 4, 7, 4, 4, 5, 5, 4, 8, 5, 6, 5, 7, 4, 8, 8, 6, 6, 11, 8, 9, 5, 7, 7, 8, 8, 9
OFFSET
1,10
PROG
(PARI) pbetweensq2(n) = { for(x=1, n, c=0; for(y=floor(x)^2, (x+1/3)^2, if(isprime(y), c++) ); print1(c", ") ) }
CROSSREFS
Sequence in context: A097306 A102632 A094076 * A248470 A082067 A082061
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 30 2003
STATUS
approved