OFFSET
0,4
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000
FORMULA
Euler transform of period 6 sequence [ 1, -1, 2, -1, 1, 0, ...].
G.f.: Product_{k>0} (1-x^k)^2/(1+x^k+x^(2k)). a(3n+2)=0.
G.f.: Product_{i>0} 1/(1 + Sum_{j>0} (-1)^j*j*q^(j*i)). - Seiichi Manyama, Oct 08 2017
MATHEMATICA
QP = QPochhammer; s = QP[q^2]^2/(QP[q]*QP[q^3]) + O[q]^70; CoefficientList[s, q] (* Jean-François Alcover, Nov 25 2015 *)
PROG
(PARI) {a(n)=local(A); if(n<0, 0, A=x*O(x^n); polcoeff( eta(x^2+A)^2/eta(x+A)/eta(x^3+A), n))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Sep 11 2006
STATUS
approved