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.

A037920 Trajectory of 8 under prime factor concatenation procedure.

Original entry on oeis.org

8, 2, 2, 2, 2, 3, 37, 3, 19, 41, 3, 3, 3, 7, 13, 13, 3, 11123771, 7, 149, 317, 941, 229, 31219729, 11, 2084656339, 3, 347, 911, 118189, 11, 613, 496501723, 97, 130517, 917327, 53, 1832651281459, 3, 3, 3, 11, 139, 653, 3863, 5107
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Python
    from sympy import factorint
    def iterate(n):
        flst, f = [n], sorted(factorint(n, multiple=True))
        while len(f) > 1:
            flst += f
            f = sorted(factorint(int("".join(map(str, f))), multiple=True))
        return flst
    print(iterate(8)) # Michael S. Branicky, Aug 02 2021

Extensions

Edited by Charles R Greathouse IV, Apr 30 2010