OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
FORMULA
Euler transform of period 3 sequence [ -3, -3, 1, ...].
G.f. is a period 1 Fourier series which satisfies f(-1 / (1728 t)) = (9/8)^(1/2) (t/i)^(-1/2) g(t) where q = exp(2 Pi i t) and g() is g.f. for A187428.
G.f.: Product_{k>0} (1 - x^k)^3 / (1 - x^(3*k))^4.
EXAMPLE
1 - 3*x + 9*x^3 - 12*x^4 + 27*x^6 - 42*x^7 + 82*x^9 - 111*x^10 + ...
q^-3 - 3*q^5 + 9*q^21 - 12*q^29 + 27*q^45 - 42*q^53 + 82*q^69 - 111*q^77 + ...
MATHEMATICA
QP = QPochhammer; s = QP[q]^3/QP[q^3]^4 + O[q]^50; CoefficientList[s, q] (* Jean-François Alcover, Nov 25 2015 *)
eta[q_]:= q^(1/24)*QPochhammer[q]; CoefficientList[Series[q^(3/8) *eta[q]^3/ eta[q^3]^4, {q, 0, 50}], q] (* G. C. Greubel, Aug 14 2018 *)
PROG
(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^3 / eta(x^3 + A)^4, n))}
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Mar 09 2011
STATUS
approved