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.

A375318 Expansion of 1/(1 - x^3*(1 + x)^4).

Original entry on oeis.org

1, 0, 0, 1, 4, 6, 5, 9, 28, 57, 82, 122, 249, 519, 913, 1485, 2632, 5053, 9369, 16375, 28662, 52226, 96182, 173220, 307653, 551927, 1002327, 1815191, 3258813, 5845015, 10539893, 19048900, 34332648, 61735922, 111129005, 200406479, 361364501, 650804074, 1171717523
Offset: 0

Views

Author

Seiichi Manyama, Aug 12 2024

Keywords

Crossrefs

Programs

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

Formula

a(n) = a(n-3) + 4*a(n-4) + 6*a(n-5) + 4*a(n-6) + a(n-7).
a(n) = Sum_{k=0..floor(n/3)} binomial(4*k,n-3*k).