login
A397236
Expansion of 1/(1 - x^3 - x^4 - 2*x^5 - x^7).
1
1, 0, 0, 1, 1, 2, 1, 3, 5, 5, 9, 11, 18, 25, 33, 52, 70, 103, 146, 206, 302, 422, 610, 870, 1239, 1782, 2530, 3631, 5183, 7400, 10595, 15113, 21627, 30891, 44139, 63113, 90144, 128879, 184147, 263162, 376140, 537453, 768180, 1097740, 1568796, 2242060, 3203988, 4579036
OFFSET
0,6
COMMENTS
Number of compositions of n into parts 3, 4, 5, and 7 where there are two sorts of part 5.
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
Sequence in context: A296064 A167595 A328600 * A378961 A388033 A179382
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Jun 19 2026
STATUS
approved