login
A054691
New records in A054690 (start of n consecutive non-twin primes).
5
7, 19, 43, 73, 349, 661, 8629, 13399, 14629, 24421, 62299, 187909, 688453, 850351, 17382481, 30752233, 32822371, 136283431, 248641039, 255949951, 390817729, 698542489, 1256735191, 1535220499, 1899797989, 2466641071, 4289385523, 24215097499, 42441715489, 43725662623
OFFSET
1,1
COMMENTS
Has many terms in common with A036061, but neither of the two is a subsequence of the other one. - M. F. Hasler, May 07 2022
LINKS
PROG
(Python)
from sympy import nextprime
from itertools import count, islice
def agen(): # generator of terms
p, q, n, rl, argp = 2, 3, 1, 0, 2
for k in count(1):
if q - p >= 4: rl += 1
else:
if rl >= n: yield argp; n = rl + 1
rl, argp = 0, q
p, q = q, nextprime(q)
print(list(islice(agen(), 14))) # Michael S. Branicky, Aug 23 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jeff Burch, Apr 19 2000
EXTENSIONS
a(10)-a(25) from Sean A. Irvine, Feb 17 2022
Offset changed and a(26)-a(29) from Michael S. Branicky, Aug 23 2022
STATUS
approved