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.

A369398 Expansion of (1/x) * Series_Reversion( x / (1+x)^2 * (1-x^3) ).

Original entry on oeis.org

1, 2, 5, 15, 52, 198, 797, 3322, 14195, 61848, 273792, 1228131, 5570200, 25501610, 117694557, 546983631, 2557677780, 12024345942, 56801925455, 269483935384, 1283469626512, 6134259516564, 29412031039568, 141434223863670, 681939435678239, 3296147009539144
Offset: 0

Views

Author

Seiichi Manyama, Jan 22 2024

Keywords

Crossrefs

Programs

  • PARI
    my(N=30, x='x+O('x^N)); Vec(serreverse(x/(1+x)^2*(1-x^3))/x)
    
  • PARI
    a(n, s=3, t=1, u=2) = sum(k=0, n\s, binomial(t*(n+1)+k-1, k)*binomial(u*(n+1), n-s*k))/(n+1);

Formula

a(n) = (1/(n+1)) * Sum_{k=0..floor(n/3)} binomial(n+k,k) * binomial(2*n+2,n-3*k).
a(n) = (1/(n+1)) * [x^n] ( (1+x)^2 / (1-x^3) )^(n+1). - Seiichi Manyama, Feb 16 2024

A370247 Coefficient of x^n in the expansion of ( 1/(1-x)^2 * (1+x^3) )^n.

Original entry on oeis.org

1, 2, 10, 59, 362, 2277, 14575, 94474, 618154, 4074197, 27008885, 179897720, 1202961215, 8070830588, 54302131642, 366252974259, 2475575739306, 16764524795037, 113719280941453, 772551326290528, 5255393538550837, 35794109754866998, 244060675562790316
Offset: 0

Views

Author

Seiichi Manyama, Feb 13 2024

Keywords

Crossrefs

Programs

  • PARI
    a(n, s=3, t=1, u=2) = sum(k=0, n\s, binomial(t*n, k)*binomial((u+1)*n-s*k-1, n-s*k));

Formula

a(n) = Sum_{k=0..floor(n/3)} binomial(n,k) * binomial(3*n-3*k-1,n-3*k).
The g.f. exp( Sum_{k>=1} a(k) * x^k/k ) has integer coefficients and equals (1/x) * Series_Reversion( x * (1-x)^2 / (1+x^3) ). See A369265.
Showing 1-2 of 2 results.