OFFSET
0,4
FORMULA
a(n) = n! * Sum_{k=0..floor(n/2)} (k+1)^(n-2*k-1) * |Stirling1(k,n-2*k)|/k!.
PROG
(PARI) a(n) = n!*sum(k=0, n\2, (k+1)^(n-2*k-1)*abs(stirling(k, n-2*k, 1))/k!);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 30 2024
STATUS
approved