OFFSET
0,6
COMMENTS
Number of compositions of n into parts 3, 4, 5, and 7 where there are two sorts of part 5.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,1,1,2,0,1).
FORMULA
a(n) = a(n-3) + a(n-4) + 2*a(n-5) + a(n-7).
G.f.: 1/( (1+x^2) * (1-x^2-x^3-x^5) ).
PROG
(PARI) my(N=50, x='x+O('x^N)); Vec(1/(1-x^3-x^4-2*x^5-x^7))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jun 19 2026
STATUS
approved