OFFSET
1,1
COMMENTS
Inspired by the weaker Legendre conjecture that there should be at least one 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 between 10*(10+1)/2=55 and (10+1)*(10+2)/2=66 there are 2 primes: 59, 61.
MATHEMATICA
Table[ PrimePi[n(n + 1)/2] - PrimePi[n(n - 1)/2], {n, 2, 96}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 05 2001
EXTENSIONS
Definition improved by Robert G. Wilson v, Apr 22 2003
STATUS
approved