A104782 Smallest n^e (e>1) containing n in decimal representation.
1, 32, 243, 64, 25, 36, 16807, 32768, 729, 100, 285311670611, 1283918464548864, 137858491849, 1475789056, 3787675244106352329254150390625, 16777216, 827240261886336764177, 1889568, 116490258898219, 3200000, 85766121
Offset: 1
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..1000
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
Comments