OFFSET
0,2
FORMULA
a(n) = exp(3) * (-1)^n * Sum_{k>=0} (-3)^k * (k - 1)^n / k!.
a(0) = 1; a(n) = a(n-1) + 3 * Sum_{k=0..n-1} (-1)^(n-k-1) * binomial(n-1,k) * a(k).
MATHEMATICA
nmax = 25; CoefficientList[Series[Exp[3 (1 - Exp[-x]) + x], {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 1; a[n_] := a[n] = a[n - 1] + 3 Sum[(-1)^(n - k - 1) Binomial[n - 1, k] a[k], {k, 0, n - 1}]; Table[a[n], {n, 0, 25}]
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jul 03 2020
STATUS
approved