A372512 Number of solutions to x^2 + y^2 + z^2 <= n, where x, y, z are positive odd integers.
0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 7, 7, 7, 7, 7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 11, 11, 17, 17, 17, 17, 17, 17, 17, 17, 20, 20, 20, 20, 20, 20, 20, 20, 26, 26, 26, 26, 26, 26, 26, 26, 35, 35, 35, 35, 35, 35, 35, 35, 38, 38, 38, 38, 38, 38, 38, 38, 45, 45, 45, 45, 45, 45
Offset: 0
Keywords
Programs
-
Mathematica
nmax = 80; CoefficientList[Series[EllipticTheta[2, 0, x^4]^3/(8 (1 - x)), {x, 0, nmax}], x]