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.

A349969 a(n) = Sum_{k=0..n} (k*n)^(n-k).

Original entry on oeis.org

1, 1, 3, 16, 141, 1871, 34951, 873174, 27951929, 1107415549, 52891809491, 2987861887924, 196828568831365, 14950745148070499, 1296606974501951743, 127238563043551898986, 14012626653816435643633, 1719136634276882827095009, 233448782800118609096218891
Offset: 0

Views

Author

Seiichi Manyama, Dec 07 2021

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := Sum[If[k == n == 0, 1, (k*n)^(n - k)], {k, 0, n}]; Array[a, 19, 0] (* Amiram Eldar, Dec 07 2021 *)
  • PARI
    a(n) = sum(k=0, n, (k*n)^(n-k));

Formula

a(n) = [x^n] Sum_{k>=0} x^k/(1 - n*k * x).
a(n) ~ sqrt(2*Pi/(n*(1 + LambertW(exp(1)*n^2)))) * (n^2/LambertW(exp(1)*n^2))^(n + 1/2 - n/LambertW(exp(1)*n^2)). - Vaclav Kotesovec, Dec 07 2021