OFFSET
0,4
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Expansion of q^(-2/3) * eta(q^2) * eta(q^3)^2 * eta(q^12)^2 / (eta(q^4) * eta(q^6)^2) in powers of q.
Euler transform of period 12 sequence [ 0, -1, -2, 0, 0, -1, 0, 0, -2, -1, 0, -2, ...].
G.f.: Product_{k>0} (1 + x^(2*k)) * (1 - x^(3*k))^2 * (1 - x^(2*k) + x^(4*k))^2.
a(4*n) = A257399(n). a(8*n + 3) = -2 * A255318(n). a(8*n + 5) = 2 * A255319(n). a(8*n + 6) = -2 * A257402(n-1). a(16*n) = A257398(n). a(16*n + 2) = - A257399(n). a(16*n + 12) = 2 * A255317(n).
a(8*n + 1) = a(8*n + 7) = a(16*n + 4) = a(16*n + 8) = 0.
EXAMPLE
G.f. = 1 - x^2 - 2*x^3 + 2*x^5 - x^10 + 2*x^12 + 2*x^13 - 2*x^14 + x^16 + ...
G.f. = q^2 - q^8 - 2*q^11 + 2*q^17 - q^32 + 2*q^38 + 2*q^41 - 2*q^44 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x^2, x^4] QPochhammer[ x^3]^2 / QPochhammer[ x^6, x^12]^2, {x, 0, n}];
a[ n_] := If[ n < 0, 0, (-1)^Quotient[ n, 2] DivisorSum[ 3 n + 2, KroneckerSymbol[-2, #] &]];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A) * eta(x^3 + A)^2 * eta(x^12 + A)^2 / (eta(x^4 + A) * eta(x^6 + A)^2), n))};
(PARI) {a(n) = if( n<0, 0, (-1)^(n\2) * sumdiv(3*n + 2, d, kronecker( -2, d)))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Jun 09 2015
STATUS
approved