OFFSET
0,4
LINKS
Winston de Greef, Table of n, a(n) for n = 0..413
Eric Weisstein's World of Mathematics, Lambert W-Function.
FORMULA
a(n) = n! * Sum_{k=0..n} (-k+1)^(k-1) * binomial(n-1,n-k)/k!.
E.g.f.: exp( LambertW(x/(1-x)) ).
E.g.f.: 1 / ( (1-x)/x * LambertW(x/(1-x)) ).
a(n) ~ -(-1)^n * exp(-1) * (1 - exp(-1))^(n + 1/2) * n^(n-1). - Vaclav Kotesovec, Mar 02 2023
MATHEMATICA
nmax = 21; A[_] = 1;
Do[A[x_] = Exp[x/((1 - x)*A[x])] + 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, (-k+1)^(k-1)*binomial(n-1, n-k)/k!);
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(exp(lambertw(x/(1-x)))))
(PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(1/((1-x)/x*lambertw(x/(1-x)))))
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Mar 01 2023
STATUS
approved