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.

A104782 Smallest n^e (e>1) containing n in decimal representation.

Original entry on oeis.org

1, 32, 243, 64, 25, 36, 16807, 32768, 729, 100, 285311670611, 1283918464548864, 137858491849, 1475789056, 3787675244106352329254150390625, 16777216, 827240261886336764177, 1889568, 116490258898219, 3200000, 85766121
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 25 2005

Keywords

Comments

a(n) = n^A045537(n).

Crossrefs

Programs

  • Python
    from itertools import count
    def a(n):
        s = str(n)
        return next(n**e for e in count(2) if s in str(n**e))
    print([a(n) for n in range(1, 22)]) # Michael S. Branicky, Feb 23 2025