|
|
A001995
|
|
Numbers that are the sum of 5 distinct squares: of form v^2 + w^2 + x^2 + y^2 + z^2 with 0 <= v < w < x < y < z.
|
|
3
|
|
|
30, 39, 46, 50, 51, 54, 55, 57, 62, 63, 65, 66, 70, 71, 74, 75, 78, 79, 81, 82, 84, 85, 86, 87, 88, 90, 91, 93, 94, 95, 98, 99, 100, 102, 103, 105, 106, 107, 109, 110, 111, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 129, 130, 131
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
30 = 0^2 + 1^1 + 2^2 + 3^2 + 4^2.
|
|
MATHEMATICA
|
nn = 15; Select[Union[Flatten[Table[a^2 + b^2 + c^2 + d^2 + e^2, {a, 0, nn}, {b, a + 1, nn}, {c, b + 1, nn}, {d, c + 1, nn}, {e, d + 1, nn}]]], # <= nn^2 &] (* T. D. Noe, Aug 17 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|