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.

A370285 Coefficient of x^n in the expansion of ( (1+x)^2 + x^3 )^n.

Original entry on oeis.org

1, 2, 6, 23, 94, 392, 1659, 7107, 30734, 133880, 586576, 2582142, 11411371, 50597900, 224986467, 1002867878, 4479814606, 20049099908, 89878609344, 403521966942, 1814102538624, 8165526187128, 36794746597494, 165968135843522, 749314496125451, 3385881647958442
Offset: 0

Views

Author

Seiichi Manyama, Feb 14 2024

Keywords

Crossrefs

Similar to A082759.

Programs

  • Maple
    a := n -> binomial(2*n, n) * hypergeom([(1-n)/3, (2-n)/3, -n/3], [1/2-n, n+1], 27/4):
    seq(simplify(a(n)), n = 0..25);  # Peter Luschny, Jan 04 2025
  • PARI
    a(n) = sum(k=0, n\3, binomial(n, k)*binomial(2*n-2*k, n-3*k));

Formula

a(n) = Sum_{k=0..floor(n/3)} binomial(n,k) * binomial(2*n-2*k,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 + x^3) ). See A369212.