login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A369807
Expansion of 1/(1 - x^4/(1-x)^7).
6
1, 0, 0, 0, 1, 7, 28, 84, 211, 476, 1029, 2276, 5384, 13594, 35371, 91667, 232681, 577710, 1413462, 3442498, 8414484, 20717963, 51346109, 127678961, 317496621, 787941379, 1950774874, 4821609252, 11910608942, 29432604429, 72787392898, 180131835001
OFFSET
0,6
COMMENTS
Number of compositions of 7*n-4 into parts 4 and 7.
FORMULA
a(n) = A369815(7*n-4) for n > 0.
a(n) = 7*a(n-1) - 21*a(n-2) + 35*a(n-3) - 34*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7) for n > 7.
a(n) = Sum_{k=0..floor(n/4)} binomial(n-1+3*k,n-4*k).
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(1/(1-x^4/(1-x)^7))
(PARI) a(n) = sum(k=0, n\4, binomial(n-1+3*k, n-4*k));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 01 2024
STATUS
approved