OFFSET
0,2
FORMULA
E.g.f.: (1 + x)^4 * exp(x + x^2).
a(n) = -(n-6)*a(n-1) + 3*(n-1)*a(n-2) + 2*(n-1)*(n-2)*a(n-3) for n > 2.
PROG
(PARI) a(n) = n!*sum(k=0, n, binomial(k+4, n-k)/k!);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Nov 12 2024
STATUS
approved