OFFSET
0,2
COMMENTS
REFERENCES
J. W. L. Glaisher, On the representations of a number as the sum of two, four, six, eight, ten, and twelve squares, Quart. J. Math. 38 (1907), 1-62 (see p. 38).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Expansion of (psi(x) * phi(-x^2)^2)^4 + 16 * x * (psi(x) * psi(-x)^2)^4 in powers of x where phi(), psi() are Ramanujan theta functions.
Expansion of (phi(x)^8 - 256 * x^2 * psi(x^2)^8) * psi(x)^4 in powers of x where phi(), psi() are Ramanujan theta functions. - Michael Somos, Jul 20 2013
Expansion of q^(-1/2) * (eta(q)^12 + 32 * q * eta(q)^4 * eta(q^4)^8) in powers of q.
G.f. is a period 1 Fourier series which satisfies f(-1/(8*t)) = 512 * (t/i)^6 * f(t) where q = exp(2*Pi*i*t).
a(n) = b(2*n + 1) where b(n) is multiplicative with b(2^e) = 0^e, b(p^e) = b(p) * b(p^(e-1)) - p^5 * b(p^(e-2)) if p > 2.
G.f.: Product_{k>0} (1 - x^k)^12 + 32 * x * (Product_{k>0} (1 - x^k) * (1 - x^(4*k))^2)^4.
EXAMPLE
G.f. = 1 + 20*x - 74*x^2 - 24*x^3 + 157*x^4 + 124*x^5 + 478*x^6 - 1480*x^7 + ...
G.f. = q + 20*q^3 - 74*q^5 - 24*q^7 + 157*q^9 + 124*q^11 + 478*q^13 - 1480*q^15 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ q]^12 + 32 q (QPochhammer[ q] QPochhammer[ q^4]^2)^4, {q, 0, n}];
a[ n_] := SeriesCoefficient[ 8 q QPochhammer[ q^4]^12 + (QPochhammer[ q]^2 QPochhammer[ q^4])^4, {q, 0, 2 n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^12 + 32 * x * eta(x + A)^4 * eta(x^4 + A)^8, n))};
(PARI) {a(n) = my(A); if( n<0, 0, n*=2; A = x * O(x^n); polcoeff( 8 * x * eta(x^4 + A)^12 + eta(x + A)^8 * eta(x^4 + A)^4, n))};
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( (eta(x^2 + A)^6 / (eta(x + A) * eta(x^4 + A)^2))^4 + 16 * x * (eta(x + A) * eta(x^4 + A)^2)^4, n))};
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( (eta(x^2 + A)^12 / (eta(x + A)^5 * eta(x^4 + A)^4))^4 - x^2 * (4 * eta(x^4 + A)^4 / eta(x + A))^4, n))}; /* Michael Somos, Jul 20 2013 */
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, May 20 2013
STATUS
approved