login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089614 Number of primes between n^2 and (n+1/4)^2. 0
0, 1, 0, 1, 0, 1, 0, 1, 1, 2, 0, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 0, 2, 1, 2, 2, 2, 1, 2, 2, 3, 4, 2, 3, 4, 2, 4, 2, 5, 3, 2, 2, 2, 3, 3, 2, 2, 3, 2, 3, 5, 2, 3, 3, 2, 5, 4, 2, 4, 3, 4, 1, 3, 5, 3, 5, 6, 4, 5, 2, 3, 3, 6, 7, 6, 2, 5, 6, 2, 6, 4, 4, 3, 5, 3, 7, 3, 6, 4, 6, 2, 6, 6, 6, 5, 7, 7, 6, 4, 4, 4, 6, 7, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,10
LINKS
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
Sequence in context: A025862 A004540 A353945 * A064875 A216657 A328614
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 30 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 06:53 EDT 2024. Contains 371799 sequences. (Running on oeis4.)