OFFSET
0,3
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} ((-1)^(k-1) * k! - 1) * binomial(n,k) * a(n-k).
MATHEMATICA
m = 21; Range[0, m]! * CoefficientList[Series[1/(Exp[x] - x/(1 + x)), {x, 0, m}], x] (* Amiram Eldar, Mar 11 2022 *)
PROG
(PARI) my(N=20, x='x+O('x^N)); Vec(serlaplace(1/(exp(x)-x/(1+x))))
(PARI) a(n) = if(n==0, 1, sum(k=1, n, ((-1)^(k-1)*k!-1)*binomial(n, k)*a(n-k)));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 11 2022
STATUS
approved