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