OFFSET
0,2
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (-1)^(k+1) * binomial(n,k) * (1 + 2^k + 3^k) * a(n-k).
MATHEMATICA
nmax = 18; CoefficientList[Series[1/(-2 + Sum[Exp[-k x], {k, 1, 3}]), {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 1; a[n_] := a[n] = Sum[(-1)^(k + 1) Binomial[n, k] (1 + 2^k + 3^k) a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 18}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 06 2023
STATUS
approved