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.

A371871 a(n) = Sum_{k=0..floor(n/3)} binomial(2*n-3*k-2,n-3*k).

Original entry on oeis.org

1, 0, 1, 5, 18, 66, 246, 924, 3493, 13277, 50697, 194327, 747319, 2882061, 11142027, 43167573, 167561586, 651513594, 2537041938, 9892847952, 38623197264, 150959213886, 590626854072, 2312979822738, 9065733950526, 35561306875380, 139595183125750
Offset: 0

Views

Author

Seiichi Manyama, Apr 10 2024

Keywords

Crossrefs

Programs

  • Maple
    A371871 := proc(n)
        1/(1-x^3)/(1-x)^(n-1) ;
        coeftayl(%,x=0,n) ;
    end proc:
    seq(A371871(n),n=0..60) ; # R. J. Mathar, Apr 22 2024
  • PARI
    a(n) = sum(k=0, n\3, binomial(2*n-3*k-2, n-3*k));

Formula

a(n) = [x^n] 1/((1-x^3) * (1-x)^(n-1)).
D-finite with recurrence 9*n*a(n) +3*(-17*n+16)*a(n-1) +3*(21*n-50)*a(n-2) +(-17*n+16)*a(n-3) +10*(2*n-5)*a(n-4)=0. - R. J. Mathar, Apr 22 2024

A371873 a(n) = Sum_{k=0..floor(n/3)} binomial(2*n+1,n-3*k).

Original entry on oeis.org

1, 3, 10, 36, 135, 517, 2003, 7815, 30634, 120480, 475002, 1876294, 7422676, 29400192, 116567356, 462561572, 1836843591, 7298613997, 29016050831, 115408159467, 459209330821, 1827849895817, 7277945888781, 28986847296997, 115479393316211, 460159673245743
Offset: 0

Views

Author

Seiichi Manyama, Apr 10 2024

Keywords

Crossrefs

Programs

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

Formula

a(n) = [x^n] 1/(((1-x)^3-x^3) * (1-x)^(n-1)).
Showing 1-2 of 2 results.