cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A351795 a(n) = n! * Sum_{k=0..n} (k * (n-k))^k/k!.

Original entry on oeis.org

1, 1, 4, 30, 396, 8360, 256470, 10619952, 564959528, 37370475648, 3001942868490, 287388158562560, 32278318416029532, 4197544986996581376, 625014083479647028622, 105554855135062180485120, 20053957030647088382195280, 4255329207190209023134564352
Offset: 0

Views

Author

Seiichi Manyama, Feb 19 2022

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := n!*(1 + Sum[(k*(n - k))^k/k!, {k, 1, n}]); Array[a, 18, 0] (* Amiram Eldar, Feb 19 2022 *)
  • PARI
    a(n) = n!*sum(k=0, n, (k*(n-k))^k/k!);

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
Showing 1-1 of 1 results.