OFFSET
0,4
LINKS
Eric Weisstein's World of Mathematics, Lambert W-Function.
FORMULA
a(n) = n! * Sum_{k=1..floor(n/3)} k^(k-1) * |Stirling1(n-2*k,k)|/(2^k * (n-2*k)!).
a(n) ~ sqrt(exp(r)/2 + r - 1/2) * n^(n-1) / (exp(n - 1/2) * (1 - exp(-r))^(n-1)), where r = 1.345291829921667620776408101642407390842578457922... is the root of the equation exp(1-2*r) - 2*exp(1-r) + exp(1) = 2/r. - Vaclav Kotesovec, Jan 31 2026
MATHEMATICA
With[{m = 25}, Range[0, m]! * CoefficientList[Series[-ProductLog[x^2/2 * Log[1 - x]], {x, 0, m}], x]] (* Amiram Eldar, Sep 24 2022 *)
PROG
(PARI) my(N=20, x='x+O('x^N)); concat([0, 0, 0], Vec(serlaplace(-lambertw(x^2/2*log(1-x)))))
(PARI) a(n) = n!*sum(k=1, n\3, k^(k-1)*abs(stirling(n-2*k, k, 1))/(2^k*(n-2*k)!));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Sep 24 2022
STATUS
approved
