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.

A347993 a(n) = n! * Sum_{k=1..n} (-1)^(k+1) * n^(n-k) / (n-k)!.

Original entry on oeis.org

1, 2, 15, 136, 1645, 24336, 426979, 8658560, 199234809, 5128019200, 145969492471, 4552809182208, 154404454932325, 5656950010320896, 222655633595044875, 9369696305273798656, 419790650812640438641, 19950175280765680680960, 1002394352017754098219999, 53092232229227200348160000
Offset: 1

Views

Author

Ilya Gutkovskiy, Sep 23 2021

Keywords

Crossrefs

Programs

  • Mathematica
    Table[n! Sum[(-1)^(k + 1) n^(n - k)/(n - k)!, {k, 1, n}], {n, 1, 20}]
    nmax = 20; CoefficientList[Series[-LambertW[-x]/(1 - LambertW[-x]^2), {x, 0, nmax}], x] Range[0, nmax]! // Rest
  • PARI
    a(n) = n! * sum(k=1, n, (-1)^(k+1)*n^(n-k)/(n-k)!); \\ Michel Marcus, Sep 23 2021

Formula

E.g.f.: -LambertW(-x) / (1 - LambertW(-x)^2).
a(n) = n * A133297(n).