|
|
A038671
|
|
Number of nonnegative solutions of x1^2 + x2^2 + ... + x5^2 = n.
|
|
6
|
|
|
1, 5, 10, 10, 10, 21, 30, 20, 15, 35, 50, 40, 30, 45, 70, 60, 30, 55, 100, 80, 56, 90, 110, 80, 60, 90, 140, 130, 80, 115, 190, 140, 55, 120, 200, 170, 130, 145, 200, 200, 120, 145, 270, 220, 140, 231, 290, 200, 110
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
Coefficient of q^n in (1 + q + q^4 + q^9 + q^16 + q^25 + q^36 + q^49 + q^64 + ...)^5.
G.f.: (1 + theta_3(q))^5/32, where theta_3() is the Jacobi theta function. - Ilya Gutkovskiy, Aug 08 2018
|
|
MATHEMATICA
|
(1 + EllipticTheta[3, 0, q])^5/32 + O[q]^50 // CoefficientList[#, q]& (* Jean-François Alcover, Aug 26 2019 *)
|
|
PROG
|
(PARI) seq(n)=Vec((sum(k=0, sqrtint(n), x^(k^2)) + O(x*x^n))^5) \\ Andrew Howroyd, Aug 08 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|