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

A351937 Expansion of e.g.f. exp( (sinh(x) + x*cosh(x)) / 2 ).

Original entry on oeis.org

1, 1, 1, 3, 9, 24, 99, 418, 1769, 9320, 49541, 278912, 1764825, 11319784, 77850287, 570610472, 4290387409, 34316005632, 285335249065, 2455224885440, 22165590003849, 206191758121856, 1989511661589435, 19903718061574144, 204795484665487865, 2179948112062667392
Offset: 0

Views

Author

Ilya Gutkovskiy, Feb 26 2022

Keywords

Crossrefs

Programs

  • Mathematica
    nmax = 25; CoefficientList[Series[Exp[(Sinh[x] + x Cosh[x])/2], {x, 0, nmax}], x] Range[0, nmax]!
    a[0] = 1; a[n_] := a[n] = Sum[Binomial[n - 1, 2 k] (k + 1) a[n - 2 k - 1], {k, 0, Floor[(n - 1)/2]}]; Table[a[n], {n, 0, 25}]
  • PARI
    my(x='x+O('x^30)); Vec(serlaplace(exp((sinh(x) + x*cosh(x))/2))) \\ Michel Marcus, Feb 26 2022

Formula

a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/2)} binomial(n-1,2*k) * (k+1) * a(n-2*k-1).

A349104 Expansion of e.g.f. 1/(1 - (sin(x) + x*cos(x))/2 ).

Original entry on oeis.org

1, 1, 2, 4, 8, 3, -124, -1306, -10144, -67723, -363392, -831672, 16709824, 386800759, 5631873664, 66256305994, 619010054144, 3201069236265, -40479063835648, -1775812586063860, -39853546353553408, -694055641682352469, -9591063643658387456, -84103588142498507346
Offset: 0

Views

Author

Seiichi Manyama, Mar 26 2022

Keywords

Crossrefs

Programs

  • Mathematica
    With[{m = 23}, Range[0, m]! * CoefficientList[Series[1/(1 - (Sin[x] + x*Cos[x])/2), {x, 0, m}], x]] (* Amiram Eldar, Mar 26 2022 *)
  • PARI
    my(N=40, x='x+O('x^N)); Vec(serlaplace(1/(1-(sin(x)+x*cos(x))/2)))
    
  • PARI
    a(n) = if(n==0, 1, sum(k=0, (n-1)\2, (-1)^k*(k+1)*binomial(n, 2*k+1)*a(n-2*k-1)));

Formula

a(0) = 1; a(n) = Sum_{k=0..floor((n-1)/2)} (-1)^k * (k+1) * binomial(n,2*k+1) * a(n-2*k-1).
Showing 1-2 of 2 results.