|
Search: id:A000145
|
|
|
| A000145 |
|
Number of ways of writing n as a sum of 12 squares. |
|
+0 3
|
|
| 1, 24, 264, 1760, 7944, 25872, 64416, 133056, 253704, 472760, 825264, 1297056, 1938336, 2963664, 4437312, 6091584, 8118024, 11368368, 15653352, 19822176, 24832944, 32826112, 42517728, 51425088, 61903776, 78146664, 98021616
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
a(n)=A029751(n)+16*A000735(n). - Michael Somos Sep 21 2005
|
|
REFERENCES
|
E. Grosswald, Representations of Integers as Sums of Squares. Springer-Verlag, NY, 1985, p. 121.
G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers. 3rd ed., Oxford Univ. Press, 1954, p. 314.
|
|
LINKS
|
T. D. Noe, Table of n, a(n) for n=0..10000
Index entries for sequences related to sums of squares
|
|
FORMULA
|
Expansion of eta(q^2)^60/(eta(q)eta(q^4))^24 in powers of q.
Euler transform of period 4 sequence [24, -36, 24, -12, ...]. - Michael Somos Sep 21 2005
G.f.: (Product_{k>0} (1-x^k))^12 = theta_3(q)^12.
|
|
MAPLE
|
(sum(x^(m^2), m=-10..10))^12;
|
|
PROGRAM
|
(PARI) a(n)=if(n<0, 0, polcoeff(sum(k=1, sqrtint(n), 2*x^k^2, 1+x*O(x^n))^12, n)) /* Michael Somos Sep 21 2005 */
|
|
CROSSREFS
|
Sequence in context: A051828 A076847 A009175 this_sequence A126904 A001413 A022065
Adjacent sequences: A000142 A000143 A000144 this_sequence A000146 A000147 A000148
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
Search completed in 0.002 seconds
|