Exercise 802Combinatorics › Binomial coefficientsOlympiadAdded 3 Nov 2026
Compositions via binomial coefficients
#compositions#binomial#counting
Statement
Count the number of compositions of into positive parts.
Hint
Stars and bars: place bars among positions.
Show solutionHide solution
Solution
Stars and bars. Represent as a sum of positive parts by placing dividers between stars in a row of stars, giving ways.
Conclusion. Number of compositions of into positive parts is .
Total. compositions of .