OFFSET
0,9
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..5000
FORMULA
EXAMPLE
G.f. = 1 - x - x^3 - x^5 + x^6 - x^7 + 3*x^8 - x^9 + 5*x^10 - 2*x^11 + 7*x^12 - 7*x^13 + ...
MAPLE
seq(coeff(series((1+x*mul((1-x^k)^(-1), k=1..n))^(-1), x, n+1), x, n), n = 0 .. 55); # Muniru A Asiru, Aug 30 2018
MATHEMATICA
nmax = 51; CoefficientList[Series[1/(1 + x Product[1/(1 - x^k), {k, 1, nmax}]), {x, 0, nmax}], x]
a[0] = 1; a[n_] := a[n] = -Sum[PartitionsP[k - 1] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 51}]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Aug 29 2018
STATUS
approved