Mathematics (JEE)ModerateGATE CS

In how many ways can 12 be written as an ordered sum of 4 positive integers?

  1. A. 220
  2. B. 165
  3. C. 126
  4. D. 210

Correct answer: B. 165

Stars and bars: C(12 − 1, 4 − 1) = C(11,3) = 165. Option 220 is C(12,3), which treats the parts as non-negative.

More Permutations, Combinations and Probability questions

Exams that ask this topic