Similar questions 5 more →
Combinatorics & Counting


Answer & solution
Answer: C(n−1,k−1) (no official key was published)
For n≥k≥1, separate a row of n unit objects into k nonempty consecutive groups by choosing k−1 of its n−1 internal gaps. Group lengths give an ordered k-tuple of positive integers summing to n, and every such tuple yields exactly one separator choice. Therefore the count is C(n−1,k−1). This also gives one composition when n=k or k=1.