OFFSET
1,4
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)^2-(2m-1) <= p < (2m)^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
m=1: 3 <= p < 4 => prime 3: a(1)=1;
m=4: 57 <= p < 64 => primes 59,61: a(4)=2;
m=5: 91 <= p < 100 => prime 97: a(5)=1;
m=30: 3541 <= p < 3600 => primes 3541, 3547, 3557, 3559, 3571, 3581, 3583, 3593: a(30)=8.
MAPLE
A159805 := proc(n) local a, p; a := 0 ; for p from 4*n^2-2*n+1 to 4*n^2-1 do if isprime(p) then a := a+1 ; fi; od: a ; end: seq(A159805(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