OFFSET
0,4
MAPLE
a := n -> add((-1)^(n-k)*binomial(n, k)*Stirling2(n, k), k=0..n):
seq(a(n), n = 0..24);
MATHEMATICA
a[n_] := Sum[(-1)^(n - k) * Binomial[n, k] * StirlingS2[n, k], {k, 0, n}]; Array[a, 24, 0] (* Amiram Eldar, May 07 2021 *)
PROG
(PARI) a(n) = sum(k=0, n, (-1)^(n-k)*binomial(n, k)*stirling(n, k, 2)); \\ Michel Marcus, May 07 2021
CROSSREFS
KEYWORD
sign
AUTHOR
Peter Luschny, May 04 2021
STATUS
approved