OFFSET
1,5
COMMENTS
PROG
(Python)
from sympy import nextprime
L = [2]
for n in range(1, 50):
print(len(L), end = ', ')
p0 = L[-1]; p1 = nextprime(p0); g0 = p1 - p0; M = [p1]; p = nextprime(p1)
while p - p1 < g0: M.append(p); p1 = p; p = nextprime(p)
L = M
CROSSREFS
KEYWORD
nonn
AUTHOR
Ya-Ping Lu, Oct 05 2021
STATUS
approved