Placement AptitudeVery hardProduct company OA · CAT level

In how many ways can 20 identical chocolates be shared among 4 children so that every child gets at least 1 and at most 8 chocolates?

  1. A. 969
  2. B. 303
  3. C. 321
  4. D. 315

Correct answer: D. 315

Give each child 1 first: now share 16 with each child getting 0 to 7 more. Without the cap: C(19, 3) = 969. Subtract the cases with some child getting ≥ 8 more: 4 × C(11, 3) = 660. Add back two children with ≥ 8 each (16 exactly): 6 × C(3, 3) = 6. Answer 969 − 660 + 6 = 315. 303 subtracts the double-overflow cases instead of adding them back; 969 ignores the upper limit.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic