OFFSET
1,2
LINKS
Zhining Yang, Table of n, a(n) for n = 1..55
EXAMPLE
a(11) = 68 because among all 11-digit sixth powers(47^6-68^6), 64^6=68719476736 and 68^6=98867482624 have the maximum sum of digits, 96 = A373994(11) and 68 is the largest number.
MATHEMATICA
Table[t=SortBy[Map[{#, Total@IntegerDigits[#^6]}&, Range[Ceiling[10^((n-1)/6)], Floor[(10^n-1)^(1/6)]]], Last];
Select[t, #[[2]]==t[[-1]][[2]]&][[1, 1]], {n, 36}]
CROSSREFS
KEYWORD
nonn,base,new
AUTHOR
Zhining Yang, Jan 15 2025
STATUS
approved