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”).

A351795
a(n) = n! * Sum_{k=0..n} (k * (n-k))^k/k!.
3
1, 1, 4, 30, 396, 8360, 256470, 10619952, 564959528, 37370475648, 3001942868490, 287388158562560, 32278318416029532, 4197544986996581376, 625014083479647028622, 105554855135062180485120, 20053957030647088382195280, 4255329207190209023134564352
OFFSET
0,3
FORMULA
a(n) ~ sqrt(2*Pi) * n^(2*n + 1/2) / (sqrt(LambertW(exp(2)*n)^2 - 1) * exp(n*(1 - 1/LambertW(exp(2)*n))) * LambertW(exp(2)*n)^n). - Vaclav Kotesovec, Feb 20 2022
MATHEMATICA
a[n_] := n!*(1 + Sum[(k*(n - k))^k/k!, {k, 1, n}]); Array[a, 18, 0] (* Amiram Eldar, Feb 19 2022 *)
PROG
(PARI) a(n) = n!*sum(k=0, n, (k*(n-k))^k/k!);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 19 2022
STATUS
approved