Mathematics (JEE)HardGATE CS

In how many ways can 5 identical balls be placed into 4 distinct boxes so that no box gets more than 2 balls?

  1. A. 35
  2. B. 16
  3. C. 56
  4. D. 70

Correct answer: B. 16

Count solutions of a + b + c + d = 5 with each part at most 2: the patterns (2,2,1,0), (2,1,1,1) and their rearrangements give the total shown. Option 56 is C(8,3), which ignores the upper bound of 2 on each box.

More Permutations, Combinations and Probability questions

Exams that ask this topic