|
|
A054691
|
|
New records in A054690 (start of n consecutive non-twin primes).
|
|
3
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|