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.

A370956 Record high values in A245340.

Original entry on oeis.org

0, 1, 4, 8, 21, 1518, 2510, 4100, 11181, 18414, 30374, 50121, 82924, 136341, 611212, 4477981, 7351356, 12086260, 19861634, 32648059, 53646155, 144857355, 238062163, 643132294, 1736990151, 4691130396, 7709412048
Offset: 1

Views

Author

N. J. A. Sloane, Mar 13 2024

Keywords

Comments

These numbers take a record number of steps to appear in A125717.

Crossrefs

See A370959 for the indices of these records in A245340.

Programs

  • Python
    from itertools import count, islice
    def A370956_gen(): # generator of terms
        a, aset, b, c = 0, set(), 0, -1
        for n in count(1):
            aset.add(a)
            if a==b:
                if n-1>c:
                    c = n-1
                    yield c
                while b in aset:
                    b += 1
            a = next(a for a in count(a%n,n) if a not in aset)
    A370956_list = list(islice(A370956_gen(),20)) # Chai Wah Wu, Mar 28 2024

Extensions

a(17)-a(24) from Michael S. Branicky, Mar 28 2024
a(25)-a(27) from Chai Wah Wu, Mar 28 2024