OFFSET
0,4
FORMULA
a(n) = Sum_{k=0..floor(n/2)} (2*k)! * (n+1)^(k-1) * Stirling2(n,2*k)/(2^k * k!).
MATHEMATICA
m = 21; (* number of terms *)
A[_] = 0;
Do[A[x_] = Exp[(Exp[x*A[x]] - 1)^2/2] + O[x]^m // Normal, {m}];
CoefficientList[A[x], x]*Range[0, m - 1]! (* Jean-François Alcover, Sep 12 2022 *)
PROG
(PARI) a(n) = sum(k=0, n\2, (2*k)!*(n+1)^(k-1)*stirling(n, 2*k, 2)/(2^k*k!));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 09 2022
STATUS
approved