OFFSET
0,4
FORMULA
a(n) = n! * Sum_{k=1..floor(n/3)} (k-1)! * |Stirling1(n-2*k,k)|/(2^k * (n-2*k)!).
MATHEMATICA
With[{nn =30}, CoefficientList[Series[-Log[1+x^2/2 Log[1-x]], {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Jan 22 2024 *)
PROG
(PARI) a(n) = n!*sum(k=1, n\3, (k-1)!*abs(stirling(n-2*k, k, 1))/(2^k*(n-2*k)!));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Dec 14 2023
STATUS
approved