OFFSET
0,1
COMMENTS
For small values of n, these numbers exhibit higher and lower values as n increases. Conjecture: There exists an n such that seq(n1) is < seq(n1+1) for all n1 >= n.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
MATHEMATICA
Select[PrimePi[#[[2]]]-PrimePi[#[[1]]]&/@Partition[Prime[Range[500]]^2, 2, 1], PrimeQ] (* Harvey P. Dale, May 15 2022 *)
PROG
(PARI) \ prime number of primes between squares. pbetweensq(n) = { for(x=1, n, c=0; for(y=prime(x)^2, prime((x+1))^2, if(isprime(y), c++) ); if(isprime(c), print1(c", ")) ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Dec 30 2003
EXTENSIONS
Edited by Ray Chandler, Jan 05 2004
STATUS
approved