OFFSET
1,1
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000 (first 1000 terms from T. D. Noe)
FORMULA
a(n) == 0 (mod 7). - Joerg Arndt, Nov 08 2022
EXAMPLE
From David A. Corneth, Aug 03 2020: (Start)
267342 is in the sequence as 267342 = 1^6 + 2^6 + 3^6 + 5^6 + 5^6 + 7^6 + 7^6.
594482 is in the sequence as 594482 = 1^6 + 4^6 + 4^6 + 4^6 + 4^6 + 6^6 + 9^6.
696667 is in the sequence as 696667 = 2^6 + 2^6 + 2^6 + 3^6 + 6^6 + 7^6 + 9^6. (End)
MATHEMATICA
Reap[For[n = 1, n <= 5000, n++, If[AnyTrue[PowersRepresentations[n, 7, 6], First[#] > 0&], Print[n]; Sow[n]]]][[2, 1]] (* Jean-François Alcover, Jul 18 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved