OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
EXAMPLE
From David A. Corneth, Aug 03 2020: (Start)
2200409 is in the sequence as 2200409 = 3^7 + 3^7 + 3^7 + 3^7 + 4^7 + 5^7 + 8^7.
4122089 is in the sequence as 4122089 = 3^7 + 3^7 + 7^7 + 7^7 + 7^7 + 7^7 + 7^7.
6356992 is in the sequence as 6356992 = 4^7 + 4^7 + 4^7 + 4^7 + 8^7 + 8^7 + 8^7. (End)
MATHEMATICA
M = 21027478; m = M^(1/7) // Ceiling; Reap[
For[a = 1, a <= m, a++, 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++,
s = a^7 + b^7 + c^7 + d^7 + e^7 + f^7 + g^7;
If[s <= M, Sow[s]]]]]]]]]][[2, 1]] // Union (* Jean-François Alcover, Dec 01 2020 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved