OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
EXAMPLE
193^5 = 267785184193, and contains all the digits 1 through 9.
MAPLE
q:= n-> is({convert(n^5, base, 10)[]}={$1..9}):
select(q, [$1..2000])[]; # Alois P. Heinz, Mar 08 2021
MATHEMATICA
Select[Range[2000],
Sort[ Union[IntegerDigits[#^5]]] == {1, 2, 3, 4, 5, 6, 7, 8, 9} &]
PROG
(Python)
A342308_list = [n for n in range(1, 10**5) if set(str(n**5)) == {'1', '2', '3', '4', '5', '6', '7', '8', '9'}] # Chai Wah Wu, Mar 08 2021
(PARI) isok(m) = my(d=digits(m^5)); vecmin(d) && (#Set(d) == 9); \\ Michel Marcus, Mar 09 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tanya Khovanova, Mar 08 2021
STATUS
approved