OFFSET
0,4
FORMULA
a(0) = 1; a(n) = -Sum_{k=1..n} binomial(n,k) * Stirling1(k,2) * a(n-k).
a(n) = Sum_{k=0..floor(n/2)} (2*k)! * Stirling1(n,2*k)/(-2)^k.
PROG
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(1/(1+log(1+x)^2/2)))
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=-sum(j=1, i, binomial(i, j)*stirling(j, 2, 1)*v[i-j+1])); v;
(PARI) a(n) = sum(k=0, n\2, (2*k)!*stirling(n, 2*k, 1)/(-2)^k);
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, May 25 2022
STATUS
approved