login
This site is supported by donations to The OEIS Foundation.

 

Logo

110 people attended OEIS-50 (videos, suggestions); annual fundraising drive to start soon (donate); editors, please edit! (stack is over 300), your editing is more valuable than any donation.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089615 Number of primes between n^2 and (n+1/5)^2. 0
0, 0, 0, 1, 0, 1, 0, 1, 1, 2, 0, 0, 1, 2, 2, 1, 1, 1, 1, 1, 2, 2, 0, 1, 1, 2, 2, 1, 0, 2, 2, 2, 3, 1, 3, 4, 2, 4, 2, 4, 2, 1, 1, 2, 3, 2, 2, 2, 2, 1, 3, 4, 1, 2, 2, 1, 5, 2, 2, 4, 3, 4, 1, 2, 4, 3, 3, 5, 2, 3, 2, 3, 3, 5, 5, 4, 2, 4, 5, 2, 5, 2, 4, 3, 5, 2, 6, 3, 5, 4, 6, 1, 4, 6, 5, 4, 7, 6, 6, 4, 2, 3, 4, 4, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,10

LINKS

Table of n, a(n) for n=1..105.

MATHEMATICA

Table[PrimePi[(n+1/5)^2]-PrimePi[n^2], {n, 110}] (* Harvey P. Dale, Nov 10 2011 *)

PROG

(PARI) pbetweensq2(n) = { for(x=1, n, c=0; for(y=floor(x)^2, (x+1/5)^2, if(isprime(y), c++) ); print1(c", ") ) }

CROSSREFS

Sequence in context: A112020 A069160 A089616 * A089731 A097098 A123679

Adjacent sequences:  A089612 A089613 A089614 * A089616 A089617 A089618

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 | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified November 1 04:29 EDT 2014. Contains 248887 sequences.