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!)
A089617 Number of primes between n^2 and (n+1/7)^2. 0

%I #5 Dec 04 2020 14:49:51

%S 0,0,0,1,0,1,0,0,1,1,0,0,0,2,2,1,1,0,0,1,1,1,0,1,1,2,1,1,0,1,1,2,3,1,

%T 2,3,1,3,2,3,0,0,1,0,2,1,2,2,1,1,1,3,1,2,1,1,4,2,1,3,2,3,0,2,4,3,2,3,

%U 0,3,2,2,2,3,2,3,1,3,3,1,5,2,3,3,4,2,5,3,3,4,4,1,2,4,4,4,5,5,4,2,2,3,3,2,2

%N Number of primes between n^2 and (n+1/7)^2.

%t Table[PrimePi[(n+1/7)^2]-PrimePi[n^2],{n,110}] (* _Harvey P. Dale_, Dec 04 2020 *)

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

%K easy,nonn

%O 1,14

%A _Cino Hilliard_, Dec 31 2003

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 19 12:06 EDT 2024. Contains 371792 sequences. (Running on oeis4.)