OFFSET
1,1
EXAMPLE
348 and 381 are in the list because their fifth powers 5103830227968 and 8028323765901 have the same digits.
MATHEMATICA
Sort[Flatten[Select[Gather[Table[{n, n^5, Sort[IntegerDigits[n^5]]}, {n, 1, 5000}], Last[#1] == Last[#2] &], Length[#] > 1 &], 1][[All, 1]]]
PROG
(Python) # uses imports, functions at A188065
print(list(islice(A188065_gen(root=5), 50))) # Michael S. Branicky, May 27 2024
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Erich Friedman, May 27 2024
STATUS
approved