OFFSET
2,1
COMMENTS
a(22), a(23), a(24) > 2*10^11, if they exist. - Giovanni Resta, Aug 06 2019
EXAMPLE
1920 is the smallest number which has more different digits than its cube (4 digits vs. 3 digits in 7077888000 = 1920^3), hence a(3) = 1920
PROG
(Python)
from itertools import count
def a(n): return next(k for k in count(1) if len(set(str(k))) > len(set(str(k**n))))
print([a(n) for n in range(2, 6)]) # Michael S. Branicky, May 25 2023
CROSSREFS
KEYWORD
nonn,base,hard,more
AUTHOR
Ulrich Schimke (ulrschimke(AT)aol.com)
EXTENSIONS
a(6) and a(7) from Stefan Steinerberger, Sep 07 2007
a(8)-a(17) from Sean A. Irvine, Dec 02 2010
a(18)-a(21) from Giovanni Resta, Aug 06 2019
STATUS
approved