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.

A349103 Expansion of e.g.f. exp( (sin(x) + x*cos(x))/2 ).

Original entry on oeis.org

1, 1, 1, -1, -7, -16, 19, 270, 809, -1832, -26939, -81680, 415817, 5085192, 11943199, -154023064, -1510744111, -1192784896, 80798373289, 615743987520, -1348945040647, -55570193758592, -296824726927253, 2567750854163200, 47111874571146041
Offset: 0

Views

Author

Seiichi Manyama, Mar 26 2022

Keywords

Crossrefs

Programs

  • Mathematica
    With[{m = 24}, Range[0, m]! * CoefficientList[Series[Exp[(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(exp((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-1, 2*k)*a(n-2*k-1)));

Formula

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

A349105 Expansion of e.g.f. 1/(1 - (sinh(x) + x*cosh(x))/2 ).

Original entry on oeis.org

1, 1, 2, 8, 40, 243, 1796, 15502, 152608, 1690613, 20814208, 281859540, 4163795648, 66636761575, 1148477490304, 21207704998010, 417728195909632, 8742243282090153, 193720478508563456, 4531158728871170080, 111562803180301643776, 2884156736234559267611
Offset: 0

Views

Author

Seiichi Manyama, Mar 26 2022

Keywords

Crossrefs

Programs

  • Mathematica
    With[{m = 21}, Range[0, m]! * CoefficientList[Series[1/(1 - (Sinh[x] + x*Cosh[x])/2), {x, 0, m}], x]] (* Amiram Eldar, Mar 26 2022 *)
  • PARI
    my(N=40, x='x+O('x^N)); Vec(serlaplace(1/(1-(sinh(x)+x*cosh(x))/2)))
    
  • PARI
    a(n) = if(n==0, 1, sum(k=0, (n-1)\2, (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)} (k+1) * binomial(n,2*k+1) * a(n-2*k-1).
Showing 1-2 of 2 results.