Mathematics (JEE)ModerateGATE CS

How many ordered 3-part compositions of 10 (ordered triples of positive integers with sum 10) are there?

  1. A. 45
  2. B. 28
  3. C. 21
  4. D. 36

Correct answer: D. 36

Stars and bars: C(10 − 1, 3 − 1) = C(9,2) = 36. Option 45 is C(10,2), which allows zero parts.

More Permutations, Combinations and Probability questions

Exams that ask this topic