OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..3000
EXAMPLE
125^125 = 12994...59(7369285104)69...8125.
MATHEMATICA
Select[Range[450], Length[Select[Partition[IntegerDigits[#^#], 10, 1], Sort[#]=={0, 1, 2, 3, 4, 5, 6, 7, 8, 9}&]]>0&] (* Harvey P. Dale, Oct 18 2024 *)
PROG
(Python)
def haspan(s): return any(len(set(s[i:i+10]))==10 for i in range(len(s)-9))
print([m for m in range(500) if haspan(str(m**m))]) # Michael S. Branicky, Feb 28 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
STATUS
approved