Skip to main content

Enumerative Combinatorics · Compositions, multisets, and distributing objects into boxes

For n ≥ 1, a positive composition of n is an ordered list of positive integers summing…

Problem

For \(n\ge 1\), a positive composition of \(n\) is an ordered list of positive integers summing to \(n\). Count positive compositions with exactly \(k\) parts, where \(1\le k\le n\), and then count all positive compositions with any allowed number of parts. Use cuts in a row of \(n\) marks, giving the inverse of the encoding. Evaluate the fixed-length count for \(n=9,k=4\) and the unrestricted-length count for \(n=9\). Explain why exchanging two unequal parts generally creates a different composition.

Hint

Arrange \(n\) marks and inspect the internal gaps.

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

The answer check and full solution for this problem come with ProofAnvil Practice membership ($19 USD monthly). See membership. Or start with the free Enumerative Combinatorics sample problem: Try the free sample problem.

More Enumerative Combinatorics practice problems