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.

A028558 Numbers k such that k*(k+5) is a palindrome.

Original entry on oeis.org

0, 1, 6, 18, 24, 202, 203, 814, 2067, 2178, 2207, 20402, 25116, 64493, 82566, 207067, 2040402, 2187142, 2233097, 6887078, 79585891, 211313148, 249281986, 8161664181, 22222222222, 26331005924, 81294635989, 2008491060208, 2048192235518, 2228557243297, 2471952825156
Offset: 1

Views

Author

Keywords

Comments

a(34) > 10^13

Programs

  • Python
    from itertools import count, islice
    def ispal(n): s = str(n); return s == s[::-1]
    def agen():
        for k in count(0):
            if ispal(k*(k+5)):
                yield k
    print(list(islice(agen(), 20))) # Michael S. Branicky, Jan 24 2022

Extensions

a(21)-a(27) from Michael S. Branicky, Jan 24 2022
a(28)-a(31) from Lior Manor, May 05 2024