A054691 New records in A054690 (start of n consecutive non-twin primes).
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
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..41
Programs
-
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
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
Comments