login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A020666
a(n)^n is the least n-th power containing every digit.
7
1023456789, 32043, 2326, 763, 309, 159, 56, 104, 49, 36, 25, 15, 25, 17, 17, 15, 16, 7, 5, 6, 6, 5, 11, 9, 14, 5, 5, 5, 5, 9, 5, 8, 11, 4, 4, 6, 5, 7, 3, 5, 4, 4, 6, 4, 3, 6, 3, 3, 4, 4, 5, 4, 3, 6, 4, 4, 3, 4, 4, 3, 3, 3, 3, 3, 3, 4, 3, 2, 3, 2, 3, 3, 3, 3, 4, 3, 3, 3, 2, 3, 4, 2, 3, 2, 3, 3, 2, 2, 2
OFFSET
1,1
COMMENTS
It is extremely probable that a(n) = 2 for all n >= 169.
LINKS
PROG
(Python)
def a(n):
if n == 1: return 1023456789
an = 2
while not(len(set(str(an**n))) == 10): an += 1
return an
print([a(n) for n in range(1, 90)]) # Michael S. Branicky, Jul 04 2021
CROSSREFS
KEYWORD
nonn,base
STATUS
approved