Mathematics (JEE)Very hard

Five distinct balls are placed into three distinct boxes so that no box is empty. In how many ways can this be done?

  1. A. 243
  2. B. 150
  3. C. 147
  4. D. 153

Correct answer: B. 150

By inclusion–exclusion, 3⁵ − 3·2⁵ + 3·1⁵ = 243 − 96 + 3 = 150. Using 3⁵ − 3·2⁵ forgets to add back the cases where two boxes are empty.

More Permutations, Combinations and Probability questions

Exams that ask this topic