OFFSET
0,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..564
FORMULA
G.f.: Sum_{j>=0} (-4)^j*x^j / Product_{k=1..j} (1 - k*x).
E.g.f.: exp(4*(1 - exp(x))).
a(n) = Sum_{k=0..n} (-4)^k * Stirling2(n,k).
MATHEMATICA
Table[Exp[4] Sum[(-4)^k k^n/k!, {k, 0, Infinity}], {n, 0, 24}]
Table[BellB[n, -4], {n, 0, 24}]
nmax = 24; CoefficientList[Series[Sum[(-4)^j x^j/Product[(1 - k x), {k, 1, j}] , {j, 0, nmax}], {x, 0, nmax}], x]
nmax = 24; CoefficientList[Series[Exp[4 (1 - Exp[x])], {x, 0, nmax}], x] Range[0, nmax]!
PROG
(Magma) [1] cat [(&+[((-4)^k*StirlingSecond(m, k)):k in [0..m]]):m in [1..24]]; // Marius A. Burtea, Jul 11 2019
(PARI) a(n) = sum(k=0, n, (-4)^k * stirling(n, k, 2)); \\ Michel Marcus, Jul 12 2019
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jul 11 2019
STATUS
approved