login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A332237
E.g.f.: -log(1 + LambertW(-x) * (2 + LambertW(-x)) / 2).
1
1, 2, 8, 49, 409, 4356, 56734, 877094, 15742521, 322454800, 7434673036, 190792267128, 5398552673617, 167087263076384, 5617979017621650, 203987454978218416, 7957053981454827601, 331920300203780633856, 14746208516909980554736, 695208730205550274544000
OFFSET
1,2
FORMULA
E.g.f.: -log(1 - Sum_{k>=1} k^(k-2) * x^k / k!).
a(n) = n^(n-2) + (1/n) * Sum_{k=1..n-1} binomial(n,k) * (n-k)^(n-k-2) * k * a(k).
a(n) ~ 2 * n^(n-2). - Vaclav Kotesovec, Feb 16 2020
MATHEMATICA
nmax = 20; CoefficientList[Series[-Log[1 + LambertW[-x] (2 + LambertW[-x])/2], {x, 0, nmax}], x] Range[0, nmax]! // Rest
a[n_] := a[n] = n^(n - 2) + (1/n) Sum[Binomial[n, k] (n - k)^(n - k - 2) k a[k], {k, 1, n - 1}]; Table[a[n], {n, 1, 20}]
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 07 2020
STATUS
approved