login
A004838
Numbers that are the sum of at most 9 nonzero 4th powers.
1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 33, 34, 35, 36, 37, 38, 39, 48, 49, 50, 51, 52, 53, 54, 64, 65, 66, 67, 68, 69, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 96, 97, 98, 99, 100, 101, 102
OFFSET
1,3
MATHEMATICA
Reap[For[n = 0, n < 200, n++, If[MatchQ[PowersRepresentations[n, 9, 4], {Table[_, 9], ___}], Print[n]; Sow[n]]]][[2, 1]] (* Jean-François Alcover, Oct 30 2017 *)
CROSSREFS
Sequence in context: A062504 A305458 A102489 * A032998 A364469 A032344
KEYWORD
nonn
STATUS
approved