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.

A274279 Expansion of e.g.f.: tanh(x*W(x)), where W(x) = LambertW(-x)/(-x).

Original entry on oeis.org

1, 2, 7, 40, 341, 3936, 57107, 992384, 20025385, 459466240, 11804134079, 335571265536, 10456512176189, 354362575314944, 12975301760361163, 510462668072058880, 21472710312090391889, 961728814178702327808, 45692671937666739799799, 2295278998002033651875840, 121545436687537993689631525, 6767130413049423041105231872, 395177438856180565803457658627, 24152146710231984411570685870080
Offset: 1

Views

Author

Paul D. Hanna, Jun 19 2016

Keywords

Examples

			E.g.f.: A(x) = x + 2*x^2/2! + 7*x^3/3! + 40*x^4/4! + 341*x^5/5! + 3936*x^6/6! + 57107*x^7/7! + 992384*x^8/8! + 20025385*x^9/9! + 459466240*x^10/10! + 11804134079*x^11/11! + 335571265536*x^12/12! +...
such that A(x) = tanh(x*W(x))
where W(x) = LambertW(-x)/(-x) begins
W(x) = 1 + x + 3*x^2/2! + 16*x^3/3! + 125*x^4/4! + 1296*x^5/5! + 16807*x^6/6! + 262144*x^7/7! + 4782969*x^8/8! + 100000000*x^9/9! +...+ (n+1)^(n-1)*x^n/n! +...
and satisfies W(x) = exp(x*W(x)).
Also, A(x) = (W(x)^2 - 1)/(W(x)^2 + 1), where
W(x)^2 = 1 + 2*x + 8*x^2/2! + 50*x^3/3! + 432*x^4/4! + 4802*x^5/5! + 65536*x^6/6! + 1062882*x^7/7! + 20000000*x^8/8! +...+ 2*(n+2)^(n-1)*x^n/n! +...
		

Crossrefs

Programs

  • Mathematica
    Rest[CoefficientList[Series[(LambertW[-x]^2 - x^2)/(LambertW[-x]^2 + x^2), {x, 0, 20}], x] * Range[0, 20]!] (* Vaclav Kotesovec, Jun 23 2016 *)
    Rest[With[{nmax=30}, CoefficientList[Series[Tanh[-LambertW[-x]], {x,0,nmax}], x]*Range[0, nmax]!]] (* G. C. Greubel, Feb 19 2018 *)
  • PARI
    {a(n) = my(W=sum(m=0, n, (m+1)^(m-1)*x^m/m!) +x*O(x^n)); n!*polcoeff(tanh(x*W), n)}
    for(n=1, 30, print1(a(n), ", "))
    
  • PARI
    {a(n) = my(W = sum(m=0, n, (m+1)^(m-1)*x^m/m!) +x*O(x^n)); n!*polcoeff( (W^2 - 1)/(W^2 + 1), n)}
    for(n=1, 30, print1(a(n), ", "))
    
  • PARI
    x='x+O('x^30); Vec(serlaplace(tanh(-lambertw(-x)))) \\ G. C. Greubel, Feb 19 2018

Formula

E.g.f.: (W(x)^2 - 1)/(W(x)^2 + 1), where W(x) = LambertW(-x)/(-x) = exp(x*W(x)) = Sum_{n>=0} (n+1)^(n-1)*x^n/n!.
a(n) ~ 4*exp(2) * n^(n-1) / (1+exp(2))^2. - Vaclav Kotesovec, Jun 23 2016
a(n) = Sum_{k=0..n-1} (-1)^k * A264902(n,k). - Alois P. Heinz, Aug 08 2022

A277479 E.g.f.: -tan(x)*LambertW(-x).

Original entry on oeis.org

0, 0, 2, 6, 44, 360, 4206, 59584, 1021432, 20329344, 461596090, 11756157952, 331835099364, 10278341179392, 346555737301606, 12633922368061440, 495139124241620080, 20758413862397509632, 926980786260912379122, 43925328338613823078400, 2201264843743619567644700
Offset: 0

Views

Author

Vaclav Kotesovec, Oct 17 2016

Keywords

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[-Tan[x]*LambertW[-x], {x, 0, 20}], x] * Range[0, 20]!
    Table[Sum[Binomial[n, k] * Sin[Pi*k/2] * 2^(k+1) * (2^(k+1)-1) * BernoulliB[k+1] /(k+1) * (n-k)^(n-k-1), {k, 0, n-1}], {n, 0, 20}] (* Vaclav Kotesovec, Oct 28 2016 *)
  • PARI
    x='x+O('x^50); concat([0,0], Vec(serlaplace(- tan(x)*lambertw(-x) ))) \\ G. C. Greubel, Nov 08 2017

Formula

a(n) ~ tan(exp(-1)) * n^(n-1).

A277501 E.g.f.: -LambertW(-tanh(x)).

Original entry on oeis.org

0, 1, 2, 7, 48, 461, 5488, 79171, 1347328, 26396185, 585025024, 14473813311, 395433660416, 11824374817893, 384118189803520, 13470784014801787, 507233444671848448, 20411081546839908401, 874130806090067607552, 39696948293418345150327
Offset: 0

Views

Author

Vaclav Kotesovec, Oct 18 2016

Keywords

Crossrefs

Programs

  • Mathematica
    CoefficientList[Series[-LambertW[-Tanh[x]], {x, 0, 20}], x] * Range[0, 20]!
  • PARI
    x='x+O('x^10); concat([0], Vec(serlaplace(-lambertw(-tanh(x))))) \\ G. C. Greubel, Nov 09 2017

Formula

a(n) ~ sqrt(1-exp(-2)) * 2^(n-1/2) * (log((exp(1)+1)/(exp(1)-1)))^(1/2-n) * exp(1/2-n) * n^(n-1).
Showing 1-3 of 3 results.