OFFSET
1,1
COMMENTS
This sequence (except 2) is also the record size primes in the longer A020483.
Conjecture: lim_{n->infinity} a(n)/n^2 = 1. - Ya-Ping Lu, Sep 24 2020
LINKS
J. K. Andersen, Prime gaps (not necessarily consecutive).
Taras Goy and Mark Shattuck, Determinant Formulas of Some Hessenberg Matrices with Jacobsthal Entries, Applications and Appl. Math.: An Int'l J. (2021) Vol. 16, Issue 1, Art. 10.
Mike Oakes, Ed Pegg Jr, and Jens Kruse Andersen, Prime gaps (not necessarily consecutive), digest of 5 messages in primenumbers Yahoo group, Nov 26 - Nov 27, 2004. [Cached copy]
PROG
(Python)
from sympy import isprime, nextprime
m = p_max = 0
while m >= 0:
p = 2
while isprime(p + 2*m) == 0:
p = nextprime(p)
if p > p_max:
print(p)
p_max = p
m += 1 # Ya-Ping Lu, Sep 24 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jens Kruse Andersen, Nov 28 2004
STATUS
approved