OFFSET
0,3
FORMULA
a(n) = n! * Sum_{k=0..floor(n/2)} k! * binomial(2,k) * Stirling2(n-k,k)/(n-k)!.
PROG
(PARI) a(n) = n!*sum(k=0, n\2, k!*binomial(2, k)*stirling(n-k, k, 2)/(n-k)!);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Nov 04 2024
STATUS
approved