OFFSET
0,6
FORMULA
a(n) = Sum_{k=0..floor(n/2)} (-1)^k * Stirling2(n-k,k).
MATHEMATICA
a[n_] := Sum[(-1)^k * StirlingS2[n - k, k], {k, 0, Floor[n/2]}]; Array[a, 30, 0] (* Amiram Eldar, Apr 09 2022 *)
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(sum(k=0, N, (-1)^k*x^(2*k)/prod(j=1, k, 1-j*x)))
(PARI) a(n) = sum(k=0, n\2, (-1)^k*stirling(n-k, k, 2));
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Apr 09 2022
STATUS
approved