login
A341405
Number of nonnegative solutions to (x_1)^2 + (x_2)^2 + ... + (x_10)^2 <= n.
3
1, 11, 56, 176, 396, 738, 1308, 2268, 3618, 5258, 7449, 10689, 14889, 19609, 25369, 33289, 43154, 53774, 65739, 81339, 100671, 121221, 143421, 171501, 205701, 241283, 278678, 324398, 378998, 435968, 495428, 566468, 650798, 737888, 826083, 930123, 1053323
OFFSET
0,2
COMMENTS
Partial sums of A045852.
FORMULA
G.f.: (1 + theta_3(x))^10 / (1024 * (1 - x)).
a(n^2) = A055409(n).
MAPLE
b:= proc(n, k) option remember; `if`(n=0, 1, `if`(n<0 or k<1, 0,
b(n, k-1)+add(b(n-j^2, k-1), j=1..isqrt(n))))
end:
a:= proc(n) option remember; b(n, 10)+`if`(n>0, a(n-1), 0) end:
seq(a(n), n=0..36); # Alois P. Heinz, Feb 10 2021
MATHEMATICA
nmax = 36; CoefficientList[Series[(1 + EllipticTheta[3, 0, x])^10/(1024 (1 - x)), {x, 0, nmax}], x]
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 10 2021
STATUS
approved