login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A297054
The coefficients of the product (1-x^2)(1-x^3)(1-x^4)... / (1+x).
0
1, -1, 0, -1, 0, 0, 0, 1, 0, 1, 0, 1, -1, 1, -1, 0, -1, 0, -1, 0, -1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, -1, 1, -1, 1, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, -1, 1, -1, 1, -1, 1, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0
OFFSET
1
MATHEMATICA
iend = 100;
s = Series[1/(1 + x) Product[(1 - x^i), {i, 2, iend}], {x, 0, iend}];
Print[s]; Print[CoefficientList[s, x]]
PROG
(PARI) first(n) = Vec(prod(i=2, n-1, 1 - x^i)/(1 + x) + O(x^n)) \\ Iain Fox, Dec 24 2017
CROSSREFS
Sequence in context: A379274 A321512 A373489 * A359349 A266459 A354199
KEYWORD
sign
AUTHOR
David S. Newman, Dec 24 2017
STATUS
approved