|
Search: id:A004531
|
|
|
| A004531 |
|
Number of integer solutions to x^2+4y^2=n. |
|
+0 5
|
|
| 1, 2, 0, 0, 4, 4, 0, 0, 4, 2, 0, 0, 0, 4, 0, 0, 4, 4, 0, 0, 8, 0, 0, 0, 0, 6, 0, 0, 0, 4, 0, 0, 4, 0, 0, 0, 4, 4, 0, 0, 8, 4, 0, 0, 0, 4, 0, 0, 0, 2, 0, 0, 8, 4, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 4, 8, 0, 0, 8, 0, 0, 0, 4, 4, 0, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 8, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 12, 4, 0, 0, 8
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
REFERENCES
|
J. H. Conway and N. J. A. Sloane, "Sphere Packings, Lattices and Groups", Springer-Verlag, p. 120.
B. C. Berndt, Ramanujan's Notebooks Part V, Springer-Verlag, see p. 373 Entry 32.
|
|
FORMULA
|
Coefficients in expansion of Sum_{ i, j = -inf .. inf } q^(i^2+4*j^2).
a(4n+2)=a(4n+3)=0.
G.f. Sum{k>=0} a(k)q^(k/2) = (theta2^2+theta3^2+theta4^2)/2.
Expansion of (eta(q^2)*eta(q^8))^5/(eta(q)^2*eta(q^4)^4*et(q^16)^2) in powers of q.
G.f.: phi(x)*phi(x^4) = phi(x^4)^2+2*x*psi(x^4)^2 where phi(x), psi(x) are Ramanujan theta functions.
|
|
PROGRAM
|
(PARI) a(n)=if(n<1, n==0, 2*qfrep([1, 0; 0, 4], n)[n]) /* Michael Somos Jul 04 2005 */
(PARI) {a(n)=local(A, e1, e2, e4); if(n<0, 0, A=x*O(x^n); e1=eta(x^2+A); e2=eta(x^4+A); e4=eta(x^8+A); polcoeff( (e2^12+e1^8*e4^4+4*x*e1^4*e4^8)/(2*e1^4*e2^2*e4^4), n))}
|
|
CROSSREFS
|
A004018(n)=a(4n), A004020(n)=a(4n+1).
Adjacent sequences: A004528 A004529 A004530 this_sequence A004532 A004533 A004534
Sequence in context: A108885 A072740 A080964 this_sequence A134014 A072071 A045836
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
njas
|
|
|
Search completed in 0.002 seconds
|