cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A054691 New records in A054690 (start of n consecutive non-twin primes).

Original entry on oeis.org

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

Views

Author

Jeff Burch, Apr 19 2000

Keywords

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

Crossrefs

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