OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
EXAMPLE
From David A. Corneth, Aug 02 2020: (Start)
26015282 is in the sequence as 26015282 = 1^9 + 1^9 + 1^9 + 2^9 + 5^9 + 5^9 + 5^9 + 6^9 + 6^9.
56248367 is in the sequence as 56248367 = 2^9 + 5^9 + 5^9 + 5^9 + 6^9 + 6^9 + 6^9 + 6^9 + 6^9.
84613980 is in the sequence as 84613980 = 1^9 + 1^9 + 1^9 + 1^9 + 2^9 + 5^9 + 5^9 + 7^9 + 7^9. (End)
MATHEMATICA
M = 395235037; m = M^(1/9) // Ceiling; Reap[
For[b = a, b <= m, b++, For[c = b, c <= m, c++, For[d = c, d <= m, d++,
For[e = d, e <= m, e++, For[f = e, f <= m, f++, For[g = f, g <= m, g++,
For[h = g, h <= m, h++, For[i = h, i <= m, i++,
s = a^9 + b^9 + c^9 + d^9 + e^9 + f^9 + g^9 + h^9 + i^9;
If[s <= M, Sow[s]]]]]]]]]]]][[2, 1]] // Union (* Jean-François Alcover, Dec 01 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved