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.

A375372 Expansion of 1/( (1 + x) * (1 - x^2*(1 + x)^2) ).

Original entry on oeis.org

1, -1, 2, 0, 2, 2, 5, 5, 12, 16, 28, 44, 73, 115, 190, 304, 494, 798, 1293, 2089, 3384, 5472, 8856, 14328, 23185, 37511, 60698, 98208, 158906, 257114, 416021, 673133, 1089156, 1762288, 2851444, 4613732, 7465177, 12078907, 19544086, 31622992, 51167078, 82790070
Offset: 0

Views

Author

Seiichi Manyama, Aug 13 2024

Keywords

Crossrefs

Programs

  • PARI
    my(N=50, x='x+O('x^N)); Vec(1/((1+x)*(1-x^2*(1+x)^2)))
    
  • PARI
    a(n) = sum(k=0, n\2, binomial(2*k-1, n-2*k));

Formula

a(n) = -a(n-1) + a(n-2) + 3*a(n-3) + 3*a(n-4) + a(n-5).
a(n) = Sum_{k=0..floor(n/2)} binomial(2*k-1,n-2*k).
a(n) = A375373(n) + A375373(n-1).
2*a(n) = 2*(-1)^n + A000045(n) + A057078(n+1). - R. J. Mathar, Aug 14 2024

A375371 Expansion of 1/( (1 + x)^2 * (1 - x*(1 + x)^2) ).

Original entry on oeis.org

1, -1, 4, -1, 11, 7, 35, 52, 138, 267, 606, 1266, 2758, 5882, 12679, 27185, 58442, 125473, 269561, 578929, 1243545, 2670942, 5736984, 12322389, 26467324, 56849060, 122106124, 262271540, 563332877, 1209982051, 2598919376, 5582216323, 11990037159, 25753389147
Offset: 0

Views

Author

Seiichi Manyama, Aug 13 2024

Keywords

Crossrefs

Cf. A375373.

Programs

  • PARI
    my(N=40, x='x+O('x^N)); Vec(1/((1+x)^2*(1-x*(1+x)^2)))
    
  • PARI
    a(n) = sum(k=0, n, binomial(2*k-2, n-k));

Formula

a(n) = -a(n-1) + 3*a(n-2) + 6*a(n-3) + 4*a(n-4) + a(n-5).
a(n) = Sum_{k=0..n} binomial(2*k-2,n-k).
Showing 1-2 of 2 results.