OFFSET
1,10
COMMENTS
A more restrictive version of the conjecture that there is always a prime between n^2 and (n+1)^2.
LINKS
T. D. Noe, Table of n, a(n) for n=1..10000
EXAMPLE
a(10)= 2 because pi(10) = 4 and there are 2 primes between 100 and 104.
MATHEMATICA
maxN=100; lst={}; For[i=1, i<maxN, i++, n=i^2; cnt=0; k=1; While[k<PrimePi[i], If[PrimeQ[n+k], cnt++ ]; k++ ]; AppendTo[lst, cnt]]; lst
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
T. D. Noe, Apr 09 2002
STATUS
approved