Mathematics (JEE)ModerateGATE CS

How many compositions (ordered sums) of 5 into exactly 2 positive parts are there?

  1. A. 5
  2. B. 6
  3. C. 4
  4. D. 3

Correct answer: C. 4

The two parts (a, b) with a + b = 5 and a, b ≥ 1 are (1,4), (2,3), (3,2), (4,1): 4 ways. Option 5 forgets that a must be at least 1.

More Permutations, Combinations and Probability questions

Exams that ask this topic