Mathematics (JEE)ModerateICPC regional

In how many ways can 8 identical balls be placed into 5 distinct boxes so that no box contains exactly one ball? (Boxes may be empty.)

  1. A. 495
  2. B. 120
  3. C. 35
  4. D. 115

Correct answer: B. 120

Each box holds 0 or at least 2 balls; a generating-function count over the 5 boxes gives 120.

More Permutations, Combinations and Probability questions

Exams that ask this topic