A349610 Number of solutions to x^2 + y^2 + z^2 <= n^2, where x, y, z are positive odd integers.
0, 0, 1, 1, 4, 7, 17, 20, 35, 45, 69, 84, 114, 136, 184, 217, 272, 314, 389, 443, 528, 597, 702, 784, 901, 1018, 1166, 1268, 1442, 1589, 1791, 1926, 2157, 2332, 2584, 2800, 3058, 3293, 3596, 3872, 4194, 4485, 4878, 5184, 5590, 5950, 6388, 6761, 7232
Offset: 0
Keywords
Examples
a(4) = 4 since there are solutions (1,1,1), (3,1,1), (1,3,1), (1,1,3).
Links
Programs
-
Mathematica
Table[SeriesCoefficient[EllipticTheta[2, 0, x^4]^3/(8 (1 - x)), {x, 0, n^2}], {n, 0, 48}]