login
A292518
Expansion of Product_{k>=1} (1 - x^(k*(k+1)/2)).
10
1, -1, 0, -1, 1, 0, -1, 1, 0, 1, -2, 1, 0, 1, -1, -1, 2, -1, 1, -2, 1, 0, 0, 0, 0, 1, -1, 1, -3, 2, -1, 2, -1, 0, 1, -1, 0, -2, 3, -1, 1, -2, 1, 1, -2, 0, 0, 2, 0, -1, 0, 2, -2, -1, -1, 1, 2, -1, 1, -1, 1, -2, 1, -2, 3, 1, -2, 0, -2, 3, -1, -1, 0, 3, -1, 0, -2, 1, 0, -3, 2, 2, 1, -1, -1, 0, 0, -1, 0, 2, -1
OFFSET
0,11
COMMENTS
Convolution inverse of A007294.
The difference between the number of partitions of n into an even number of distinct triangular numbers and the number of partitions of n into an odd number of distinct triangular numbers.
Euler transform of {-1 if n is a triangular number else 0, n > 0} = -A010054. - Gus Wiseman, Oct 22 2018
FORMULA
G.f.: Product_{k>=1} (1 - x^(k*(k+1)/2)).
MATHEMATICA
nmax = 90; CoefficientList[Series[Product[1 - x^(k (k + 1)/2), {k, 1, nmax}], {x, 0, nmax}], x]
CROSSREFS
Product_{k>=1} (1 - x^(k*((m-2)*k-(m-4))/2)): this sequence (m=3), A276516 (m=4), A305355 (m=5).
Sequence in context: A370561 A240718 A357071 * A264997 A222759 A357072
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Sep 18 2017
STATUS
approved