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