OFFSET
1,2
COMMENTS
LINKS
Franklin T. Adams-Watters, Table of n, a(n) for n = 1..124
Paul T. Bateman, Adolf J. Hildebrand, and George B. Purdy, Sums of distinct squares, Acta Arithmetica 67 (1994), pp. 349-380.
E. Maitland Wright, The representation of a number as a sum of five or more squares, The Quarterly Journal of Mathematics, Volume os-4, Issue 1, 1933, Pages 37-51.
MATHEMATICA
nn=300; t=Table[0, {nn}]; lim=Floor[Sqrt[nn]]; sq=Table[i^2, {i, lim}]; Do[n=sq[[i1]]+sq[[i2]]+sq[[i3]]+sq[[i4]]+sq[[i5]]; If[n<=nn, t[[n]]++ ], {i1, lim}, {i2, i1+1, lim}, {i3, i2+1, lim}, {i4, i3+1, lim}, {i5, i4+1, lim}]; Flatten[Position[t, 0]] (* T. D. Noe, Jul 23 2006 *)
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Franklin T. Adams-Watters, Jul 18 2006
EXTENSIONS
Entry revised by N. J. A. Sloane, Jul 23 2006
STATUS
approved
