OFFSET
0,2
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (-1)^(k+1) * binomial(n,k) * (1 + 2^k + 3^k + 4^k) * a(n-k).
MATHEMATICA
nmax = 17; CoefficientList[Series[1/(-3 + Sum[Exp[-k x], {k, 1, 4}]), {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 + 4^k) a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 17}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 06 2023
STATUS
approved