OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (10, -35, 50, -24).
FORMULA
a(n) = Sum_{i=1..n} i!*i^3*Stirling2(n, i)*(-1)^(n-i).
MATHEMATICA
Table[6*4^n - 12*3^n + 7*2^n - 1, {n, 0, 25}]
PROG
(PARI) a(n) = sum(i=1, n, i!*i^3*stirling(n, i, 2)*(-1)^(n-i)); \\ Michel Marcus, Oct 21 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Mario Catalani (mario.catalani(AT)unito.it), Jan 03 2004
EXTENSIONS
More terms from Michel Marcus, Oct 21 2022
STATUS
approved