OFFSET
0,3
FORMULA
a(n) = n! * Sum_{k=0..floor(n/3)} (n-3*k)! * |Stirling1(n-2*k,n-3*k)|/(n-2*k)!.
PROG
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(1/(1+log(1-x^3)/x^2)))
(PARI) a(n) = n!*sum(k=0, n\3, (n-3*k)!*abs(stirling(n-2*k, n-3*k, 1))/(n-2*k)!);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 29 2024
STATUS
approved