GATE Computer ScienceModerateGATE CS (PYQ pattern)

Five fair six-faced dice are rolled. In how many of the 7776 ordered outcomes is the sum exactly 20 AND all five faces different?

  1. A. 651
  2. B. 60
  3. C. 240
  4. D. 120

Correct answer: D. 120

Five distinct faces from {1,…,6} omit exactly one face, and their sum is 21 minus the omitted face. Sum 20 ⇒ the omitted face is 1, so the faces are {2,3,4,5,6} in any order: 5! = 120.

More Discrete Mathematics questions

Exams that ask this topic