login
A341426
Number of positive solutions to (x_1)^2 + (x_2)^2 + ... + (x_7)^2 <= n^2.
7
1, 71, 491, 2522, 9263, 27723, 71480, 163908, 345657, 679802, 1252185, 2203724, 3715206, 6041979, 9510283, 14591324, 21788606, 31894205, 45741815, 64467383, 89363919, 122254946, 164721244, 219526449, 289133792, 377013829, 486522424, 622759365
OFFSET
3,2
FORMULA
a(n) is the coefficient of x^(n^2) in expansion of (theta_3(x) - 1)^7 / (128 * (1 - x)).
MAPLE
b:= proc(n, k) option remember; `if`(k=0, 1, `if`(n=0, 0,
add((s->`if`(s>n, 0, b(n-s, k-1)))(j^2), j=1..isqrt(n))))
end:
a:= n-> b(n^2, 7):
seq(a(n), n=3..30); # Alois P. Heinz, Feb 11 2021
MATHEMATICA
Table[SeriesCoefficient[(EllipticTheta[3, 0, x] - 1)^7/(128 (1 - x)), {x, 0, n^2}], {n, 3, 30}]
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 11 2021
STATUS
approved