Exercise · ZW-INTEGER-COMPOSITION-008 · ★★☆ Intermediate
How many compositions of n=4 have at least 3 parts?
Choose one option.
Show answer
- B. 4
Exercise · ZW-INTEGER-COMPOSITION-008 · ★★☆ Intermediate
Choose one option.
With 3 parts there are \(\binom{3}{2}=3\) cases and with 4 parts there is 1, total 4. The option of 5 also includes the compositions with 2 parts, which do not count.
A composition of a positive integer n is a way of writing it as an ordered sum of positive integers, where the order of the summands matters.