OFFSET
0,23
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
Euler transform of period 8 sequence [ -1, -1, 0, 0, 0, -1, -1, -2, ...].
G.f.: Product_{k>0} (1 - x^(8*k))^2 * (1 - x^(8*k - 1)) * (1 - x^(8*k - 2)) * (1 - x^(8*k - 6)) * (1 - x^(8*k - 7)).
EXAMPLE
q^13 - q^29 - q^45 + q^61 - q^109 + q^157 + q^173 - q^269 - q^317 + ...
MATHEMATICA
f[x_, y_] := QPochhammer[-x, x*y]*QPochhammer[-y, x*y]*QPochhammer[x*y, x*y]; A143251[n_] := SeriesCoefficient[f[-x, -x^7]*f[-x^2, -x^6], {x, 0, n}]; Table[A143251[n], {n, 0, 50}] (* G. C. Greubel, Jun 18 2017 *)
PROG
(PARI) {a(n) = if( n<0, 0, polcoeff( prod(k=1, n, (1 - x^k)^([2, 1, 1, 0, 0, 0, 1, 1][k%8 + 1]), 1 + x * O(x^n)), n))}
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Aug 01 2008
STATUS
approved