OFFSET
1,1
COMMENTS
Each number is a mean of two consecutive primes.
Since, except 2, primes are odd numbers, this mean is an integer.
EXAMPLE
For n=1: first prime numbers are 2, 3, 5, 7 and 11. Maximum difference between two consecutive primes is 4 between 7 and 11 thus a(1)=9.
For n=4: maximum difference between two primes less than 10^4 is 36, which occurs once: between 9551 and 9587. a(4)=(9551 + 9587)/2 = 9569.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
David Cobac, Feb 18 2019
EXTENSIONS
More terms (using the b-file at A002386) from Jon E. Schoenfield, Feb 19 2019
STATUS
approved