OFFSET
1,2
LINKS
Zhining Yang, Table of n, a(n) for n = 1..49
EXAMPLE
a(7) = 47 because among all 7-digit fourth powers, 47^4=487968 is the least one (another larger is 56^4=9834496) which has the maximum sum of digits, 43 = A373914(7).
MATHEMATICA
Table[t=SortBy[Map[{#, Total@IntegerDigits[#^4]}&, Range[Ceiling[10^((n-1)/4)], Floor[(10^n-1)^(1/4)]]], Last];
Select[t, #[[2]]==t[[-1]][[2]]&][[1, 1]], {n, 24}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zhining Yang, Jan 12 2025
STATUS
approved