OFFSET
0,3
FORMULA
G.f. A(x) = Sum_{n>=0} a(n)*x^n satisfies A(x) = -x - 2*x^2 + Product_{n>=1} (1 + x^a(n))/(1 - x^a(n)).
MATHEMATICA
a[n_] := a[n] = SeriesCoefficient[Product[(1 + x^a[k])/(1 - x^a[k]), {k, 1, n - 1}], {x, 0, n}]; a[0] = a[1] = 1; Table[a[n], {n, 0, 54}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 11 2017
STATUS
approved