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.

A353728 A115510(n) written in base 2.

Original entry on oeis.org

1, 11, 10, 110, 100, 101, 111, 1001, 1000, 1010, 1011, 1100, 1101, 1110, 1111, 10001, 10000, 10010, 10011, 10100, 10101, 10110, 10111, 11000, 11001, 11010, 11011, 11100, 11101, 11110, 11111, 100001, 100000, 100010, 100011, 100100, 100101, 100110, 100111, 101000, 101001, 101010, 101011, 101100, 101101, 101110, 101111
Offset: 1

Views

Author

N. J. A. Sloane, May 13 2022

Keywords

Crossrefs

Programs

  • Python
    from itertools import islice
    def A353728_gen(): # generator of terms
        yield 1
        l1, s, b = 1, 2, set()
        while True:
            i = s
            while True:
                if i & l1 and not i in b:
                    yield int(bin(i)[2:])
                    l1 = i
                    b.add(i)
                    while s in b:
                        b.remove(s)
                        s += 1
                    break
                i += 1
    A353728_list = list(islice(A353728_gen(),30)) # Chai Wah Wu, May 13 2022