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.

This page as a plain text file.
%I A104782 #12 Feb 23 2025 09:25:26
%S A104782 1,32,243,64,25,36,16807,32768,729,100,285311670611,1283918464548864,
%T A104782 137858491849,1475789056,3787675244106352329254150390625,16777216,
%U A104782 827240261886336764177,1889568,116490258898219,3200000,85766121
%N A104782 Smallest n^e (e>1) containing n in decimal representation.
%C A104782 a(n) = n^A045537(n).
%H A104782 Reinhard Zumkeller, <a href="/A104782/b104782.txt">Table of n, a(n) for n = 1..1000</a>
%o A104782 (Python)
%o A104782 from itertools import count
%o A104782 def a(n):
%o A104782     s = str(n)
%o A104782     return next(n**e for e in count(2) if s in str(n**e))
%o A104782 print([a(n) for n in range(1, 22)]) # _Michael S. Branicky_, Feb 23 2025
%Y A104782 Cf. A051248, A070327.
%K A104782 nonn,base
%O A104782 1,2
%A A104782 _Reinhard Zumkeller_, Mar 25 2005