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.

A369836 Number of compositions of 5*n into parts 1 and 5.

Original entry on oeis.org

1, 2, 8, 34, 140, 571, 2328, 9496, 38740, 158045, 644761, 2630364, 10730820, 43777405, 178594110, 728591751, 2972359720, 12126025705, 49469281395, 201814663875, 823322219501, 3358821723401, 13702634402876, 55901207340276, 228054320813276, 930369409108152
Offset: 0

Views

Author

Seiichi Manyama, Feb 03 2024

Keywords

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{6, -10, 10, -5, 1}, {1, 2, 8, 34, 140}, 50] (* Paolo Xausa, Mar 15 2024 *)
  • PARI
    a(n) = sum(k=0, n, binomial(n+4*k, n-k));

Formula

a(n) = A003520(5*n).
a(n) = Sum_{k=0..n} binomial(n+4*k,n-k).
a(n) = 6*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: (1-x)^4/((1-x)^5 - x).