OFFSET
1,3
COMMENTS
1) Immediate connection to unsolved problem, is there always a prime between n^2 and (n+1)^2 ("full" interval of two consecutive squares).
3) Second ("right") half interval: number of primes p with (2m+1)^2-2m <= p < (2m+1)^2.
4) It is conjectured that a(m) >= 1.
5) No a(m) with m>5 is known, where a(m)=1.
REFERENCES
L. E. Dickson, History of the Theory of Numbers, Vol, I: Divisibility and Primality, AMS Chelsea Publ., 1999
R. K. Guy, Unsolved Problems in Number Theory (2nd ed.) New York: Springer-Verlag, 1994
P. Ribenboim, The New Book of Prime Number Records. Springer. 1996
EXAMPLE
1) m=1: 7 <= p < 9 => prime 7: a(1)=1.
2) m=2: 21 <= p < 25 => prime 23: a(2)=1.
3) m=3: 43 <= p < 49 => primes 43, 47: a(3)=2.
4) m=30: 3661 <= p < 3721 => primes 3671,3673,3677,3691,3697,3701,3709,3719: a(30)=8.
MAPLE
A159803 := proc(n) local a, p; a := 0 ; for p from 4*n^2+2*n+1 to 4*n^2+4*n do if isprime(p) then a := a+1 ; fi; od: a ; end: seq(A159803(n), n=1..120) ; # R. J. Mathar, Apr 22 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Ulrich Krug (leuchtfeuer37(AT)gmx.de), Apr 22 2009
EXTENSIONS
More terms from R. J. Mathar, Apr 22 2009
STATUS
approved