OFFSET
0,4
LINKS
Eric Weisstein's World of Mathematics, Lambert W-Function.
FORMULA
a(n) = n! * Sum_{k=0..floor(n/3)} (k+1)^(k-1) * Stirling2(n-2*k,k)/(n-2*k)!.
E.g.f.: A(x) = Sum_{k>=0} (k+1)^(k-1) * (x^2 * (exp(x) - 1))^k / k!.
E.g.f.: A(x) = exp( -LambertW(x^2 * (1 - exp(x))) ).
E.g.f.: A(x) = LambertW(x^2 * (1 - exp(x)))/(x^2 * (1 - exp(x))).
MATHEMATICA
nmax = 21; A[_] = 1;
Do[A[x_] = Exp[(-1 + Exp[x])*A[x]*x^2] + O[x]^(nmax+1) // Normal, {nmax}];
CoefficientList[A[x], x]*Range[0, nmax]! (* Jean-François Alcover, Mar 04 2024 *)
PROG
(PARI) a(n) = n!*sum(k=0, n\3, (k+1)^(k-1)*stirling(n-2*k, k, 2)/(n-2*k)!);
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(sum(k=0, N, (k+1)^(k-1)*(x^2*(exp(x)-1))^k/k!)))
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(exp(-lambertw(x^2*(1-exp(x))))))
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(lambertw(x^2*(1-exp(x)))/(x^2*(1-exp(x)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 06 2022
STATUS
approved