OFFSET
0,4
LINKS
David A. Corneth, Table of n, a(n) for n = 0..500 (first 201 terms from Alois P. Heinz)
EXAMPLE
a(5)=4 since we can write 5^2 as 0^2+0^2+0^2+0^2+5^2, 0^2+0^2+0^2+3^2+4^2, 0^2+1^2+2^2+2^2+4^2, 2^2+2^2+2^2+2^2+3^2.
MATHEMATICA
<< NumberTheory`NumberTheoryFunctions`; Table[Length@SumOfSquaresRepresentations[k, k^2], {k, 16}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wouter Meeussen, Apr 10 2005
EXTENSIONS
a(18)-a(20) from Robert G. Wilson v, Apr 12 2005
a(0), a(21)-a(37) from Alois P. Heinz, Feb 16 2015
STATUS
approved