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.

A355790 Numbers that can be written as the product of two divisors greater than 1 such that the number is contained in the string concatenation of the divisors.

Original entry on oeis.org

64, 95, 110, 210, 325, 510, 624, 640, 664, 950, 995, 1010, 1100, 1110, 3250, 3325, 5134, 6240, 6400, 6640, 6664, 7125, 7616, 8145, 9500, 9950, 9995, 11000, 11100, 11110, 20100, 21052, 21175, 25100, 26208, 32500, 33250, 33325, 35126, 50100, 51020, 51204, 51340, 57125, 62400, 64000, 65114
Offset: 1

Views

Author

Scott R. Shannon, Jul 17 2022

Keywords

Examples

			64 is a term as 64 = 16 * 4 and "16" + "4" = "164" contains "64".
65114 is a term as 65114 = 4651 * 14 and "4651" + "14" = "465114" contains "65114".
See the attached text file for other examples.
		

Crossrefs

Programs

  • Python
    from sympy import divisors
    def ok(n):
        s, divs = str(n), divisors(n)[1:-1]
        return any(s in str(d)+str(n//d) for d in divs)
    print([k for k in range(1, 10**5) if ok(k)]) # Michael S. Branicky, Jul 27 2022