Question
Four fair six-sided dice are rolled. The probability that the sum of the results being 22 is . The value of is ______________.
Official answer and solution
- Official answer
- 10
- From
- Official GATE 2014 answer key
Solution
Transform the sum of dice to a complementary variable representing the deficit from maximum score 24.
Let the outcomes of the four dice be .
Total number of outcomes = .
We want the number of solutions to:
The maximum possible sum of four dice is .
Define . Since , we have .
Rewriting the equation in terms of :
Since the sum is only 2, no can exceed 5, so the constraint is automatically satisfied for all .
The number of non-negative integer solutions to is given by the stars-and-bars formula:
These 10 combinations correspond to:
- One die having value 4, three dice having value 6: ways.
- Two dice having value 5, two dice having value 6: ways.
Total favorable outcomes .
Thus, the probability is , so .
10
Listing permutations manually and missing either the or combinations.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 1
- Question
- 58 of 65, printed as CS Q.48
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.