OFFSET
0,2
COMMENTS
Convolution inverse of A001316.
FORMULA
a(0) = 1; a(n) = -Sum_{k=1..n} 2^A000120(k) * a(n-k).
MATHEMATICA
nmax = 33; CoefficientList[Series[Product[1/(1 + 2 x^(2^k)), {k, 0, Floor[Log[2, nmax]] + 1}], {x, 0, nmax}], x]
a[0] = 1; a[n_] := a[n] = -Sum[2^DigitCount[k, 2, 1] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 33}]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jul 04 2019
STATUS
approved