Placement AptitudeHardInfosys · Capgemini pattern

12 identical pens are given to 3 students so that each student gets at least 2 and at most 6 pens. In how many ways can this be done?

  1. A. 28
  2. B. 19
  3. C. 91
  4. D. 10

Correct answer: B. 19

Give 2 each first; then x + y + z = 6 with each ≤ 4. Unrestricted: C(8, 2) = 28. If one gets ≥ 5 more: x′ + y + z = 1 gives 3 ways, × 3 students = 9. Answer 28 − 9 = 19. 28 ignores the upper limit.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic