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.

A370969 First differences of A337486.

Original entry on oeis.org

5, 4, 2, 2, 4, 2, 2, 4, 2, 2, 4, 2, 2, 4, 2, 1, 1, 4, 2, 2, 4, 2, 6, 2, 2, 2, 6, 4, 2, 2, 4, 2, 1, 1, 1, 3, 1, 1, 4, 2, 4, 1, 3, 2, 2, 1, 3, 2, 2, 4, 2, 2, 1, 1, 6, 4, 1, 1, 2, 4, 2, 2, 3, 1, 2, 1, 1, 4, 1, 1, 3, 3, 2, 4, 2, 4, 4, 2, 2, 4, 2, 2, 4, 2, 2, 2, 6
Offset: 1

Views

Author

N. J. A. Sloane, Apr 11 2024

Keywords

Crossrefs

Programs

  • Python
    from itertools import count, islice
    def A370969_gen(): # generator of terms
        c, m = 1, 1
        for n in count(2):
            a, b = divmod(c,n)
            if not b:
                yield n-m
                c, m = a, n
            else:
                c *= n
    A370969_list = list(islice(A370969_gen(),30)) # Chai Wah Wu, Apr 11 2024