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-3 of 3 results.

A134095 Expansion of e.g.f. A(x) = 1/(1 - LambertW(-x)^2).

Original entry on oeis.org

1, 0, 2, 12, 120, 1480, 22320, 396564, 8118656, 188185680, 4871980800, 139342178140, 4363291266048, 148470651659928, 5455056815237120, 215238256785814500, 9077047768435752960, 407449611073696325536, 19396232794530856894464, 976025303642559490903980
Offset: 0

Views

Author

Paul D. Hanna, Oct 11 2007

Keywords

Comments

E.g.f. equals the square of the e.g.f. of A060435, where A060435(n) = number of functions f: {1,2,...,n} -> {1,2,...,n} with even cycles only.

Examples

			E.g.f.: A(x) = 1 + 0*x + 2*x^2/2! + 12*x^3/3! + 120*x^4/4! + 1480*x^5/5! + ...
The formula A(x) = 1/(1 - LambertW(-x)^2) is illustrated by:
A(x) = 1/(1 - (x + x^2 + 3^2*x^3/3! + 4^3*x^4/4! + 5^4*x^5/5! + ...)^2).
		

Crossrefs

Cf. A060435; indirectly related: A062817, A132608.

Programs

  • Maple
    seq(simplify(GAMMA(n+1,-n)*(-exp(-1))^n),n=0..20); # Vladeta Jovovic, Oct 17 2007
  • Mathematica
    CoefficientList[Series[1/(1-LambertW[-x]^2), {x, 0, 20}], x]* Range[0, 20]! (* Vaclav Kotesovec, Nov 27 2012 *)
    a[x0_] := x D[1/x Exp[x], {x, n}] x^n Exp[-x] /. x->x0
    Table[a[n], {n, 0, 20}] (* Gerry Martens, May 05 2016 *)
  • PARI
    {a(n)=sum(k=0,n,(n-k)^k*k^(n-k)*binomial(n,k))}
    
  • PARI
    /* Generated by e.g.f. 1/(1 - LambertW(-x)^2 ): */
    {a(n)=my(LambertW=-x*sum(k=0,n,(-x)^k*(k+1)^(k-1)/k!) +x*O(x^n)); n!*polcoeff(1/(1-subst(LambertW,x,-x)^2),n)}

Formula

a(n) = Sum_{k=0..n} C(n,k) * (n-k)^k * k^(n-k).
a(n) = n!*Sum_{k=0..n} (-1)^(n-k)*n^k/k!. - Vladeta Jovovic, Oct 17 2007
a(n) ~ n^n/2. - Vaclav Kotesovec, Nov 27 2012, simplified Nov 22 2021
a(n) = n! * [x^n] exp(n*x)/(1 + x). - Ilya Gutkovskiy, Sep 18 2018
a(n) = (-1)^n*exp(-n)*Integral_{x=-n..oo} x^n*exp(-x) dx. - Thomas Scheuerle, Jan 29 2024

A277458 Expansion of e.g.f. -1/(1-LambertW(-x)).

Original entry on oeis.org

-1, 1, 0, 3, 16, 165, 2016, 30415, 539904, 11049129, 256038400, 6627314331, 189517916160, 5933803272397, 201893195083776, 7417376809230375, 292648536838045696, 12341039738944113105, 553942486234823786496, 26369048375194607316019, 1326864458454400696320000
Offset: 0

Views

Author

Vaclav Kotesovec, Oct 16 2016

Keywords

Crossrefs

Programs

  • Maple
    seq(n!*add((-1)^(k+1)*k*n^(n-k-1)/(n-k)!, k = 1..n), n = 1..20); # Peter Bala, Jul 23 2021
  • Mathematica
    CoefficientList[Series[-1/(1-LambertW[-x]), {x, 0, 25}], x] * Range[0, 25]!
  • PARI
    my(x='x+O('x^50)); Vec(serlaplace(-1/(1 - lambertw(-x)))) \\ G. C. Greubel, Nov 07 2017

Formula

a(n) ~ n^(n-1) / 4.
a(n) = n!*Sum_{k = 1..n} (-1)^(k+1)*k*n^(n-k-1)/(n-k)! for n >= 1. Cf. A133297. - Peter Bala, Jul 23 2021
a(n) = (-1)^(n+1)*U(1-n, -n, -n) where U is the Kummer U function. - Peter Luschny, Jan 23 2025

A332048 a(n) = n! * [x^n] 1 / (1 - LambertW(x))^n.

Original entry on oeis.org

1, 1, 2, 15, 104, 1145, 13824, 208831, 3536000, 68918769, 1489702400, 35742514511, 937323767808, 26750313223465, 824073079660544, 27276657371589375, 965004380380626944, 36347144974616190689, 1451974448007830568960, 61319892272079181137679, 2729671240750270054400000
Offset: 0

Views

Author

Ilya Gutkovskiy, Feb 06 2020

Keywords

Crossrefs

Programs

  • Mathematica
    Table[n! SeriesCoefficient[1/(1 - LambertW[x])^n, {x, 0, n}], {n, 0, 20}]
    Join[{1}, Table[Sum[Sum[(-1)^(n - k) Binomial[n - 1, j] StirlingS1[j + 1, k] n^(n + k - j - 1), {j, 0, n - 1}], {k, 0, n}], {n, 1, 20}]]

Formula

a(n) = Sum_{k=0..n} Sum_{j=0..n-1} (-1)^(n - k) * binomial(n - 1, j) * Stirling1(j + 1, k) * n^(n + k - j - 1) for n > 0.
a(n) ~ phi^(3*n + 1/2) * n^n / (5^(1/4) * exp(n + n/phi)), where phi = A001622 = (1+sqrt(5))/2 is the golden ratio. - Vaclav Kotesovec, Feb 07 2020
Showing 1-3 of 3 results.