I play a round of the game "Yahtzee!", and my goal is to obtain the namesake combination: 5 dice all showing the same number.
What is the probability that I will be able to accomplish this?
The probability can be expressed as b a , where a and b are coprime positive integers. Enter your answer as a + b .
Details and Assumptions :
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Great solution!
There can be a disagreement of optimal strategy. If on the first roll, you get a pair, and on the second roll you get a triple of a different number, your best strategy is the make your third roll a roll of the original pair with a 1/36 of completion.
This is an example of the calculations I used. There are 6 5 possible outcomes from the 1st roll. Say we have 3 matches. There are
( 3 5 ) ⋅ 6 ⋅ 5 ⋅ 5 = 1 5 0 0
ways this can happen; ( 3 5 ) choices for which 3 match, 6 choices for the repeated number, and 5 choices for each of the other two numbers.
Let's say the matching number is A . We roll two dice again. With probability 3 6 1 , we roll A A and get a Yahtzee straight away. With probability 3 6 1 0 , we roll one A and something else; we then have probability 6 1 of getting the A on the 3rd roll. With probability 3 6 2 5 , we don't roll an A on the 2nd roll, and have to roll A A on the 3rd, with probability 3 6 1 .
So overall, the probability of getting 3 matches after the 1st roll and going on to get a Yahtzee is
6 5 1 5 0 0 ⋅ ( 3 6 1 + 3 6 1 0 ⋅ 6 1 + 3 6 2 5 ⋅ 3 6 1 ) = 6 7 1 5 0 0 + 6 8 1 5 0 0 0 + 6 9 3 7 5 0 0 = 8 3 9 8 0 8 1 5 1 2 5
This gets tricky when we have only 1 or 2 matches after the 1st roll - as mentioned in the problem, the most common value can change in these cases. However, the same approach still works.
In summary, the probabilities are
The total probability of a Yahtzee using this strategy is the sum of the final column, which comes out to be 7 5 5 8 2 7 2 3 4 7 8 9 7 , giving the final answer 3 4 7 8 9 7 + 7 5 5 8 2 7 2 = 7 9 0 6 1 6 9
Very nice write-up!
Log in to reply
Thank you - quite a lot left to the reader, but my case analysis was enormous! Is this how you did it? Or is there a cunning shortcut?
Log in to reply
This is pretty much how I did it, too. After I did it, I found this website to have an extremely helpful solution using a transition matrix (although the final answer given is a decimal and not a fraction).
I don't understand what 2 under 5 have to mean. Can you please explain it?
Log in to reply
I'm guessing you mean the ( 3 5 ) . This is a binomial coefficient and represents the number of ways of choosing 3 (unordered) objects from a set of 5 . There's lots of information in the linked article.
Problem Loading...
Note Loading...
Set Loading...
Consider all the 6 5 = 7 7 7 6 ordered configurations after throwing all five dice. We classify them into 5 game states
Table 1. States and their initial probabilities. Note that all fractions can be expressed as 1296ths
Our strategy is as follows: once we have two or more dice of the same value, we start collecting that value, we put them aside and roll the rest.
When having a pair of a certain value (state B), we roll 3 dice, we have probability
When having a triplet of a certain value (state C), we roll 2 dice, we have probability
When having a quadruplet of a certain value (state D), we roll 1 die, we have probability
Summarizing the state transition probabilities:
Table 2, state transition probabilities For example P ( D ∣ C ) = 3 6 1 0 is the probability to get from state C to state D in one roll. Note that the first row reflects the probabilities from table 1.
Next, we calculate the state probabilities after two rolls:
Table 3, state probabilities after two rolls
Finally, using tables 2 and 3, the probability to be in state E after 3 rolls is calculated as
P 3 ( E ) = P 2 ( A ) P ( E ∣ A ) + P 2 ( B ) P ( E ∣ B ) + . . . = 1 6 7 9 6 1 6 1 4 4 0 0 1 2 9 6 1 + 1 6 7 9 6 1 6 7 5 6 0 0 0 2 1 6 1 + . . . = 2 1 7 6 7 8 2 3 3 6 1 0 0 1 9 4 3 3 6 = 7 5 5 8 2 7 2 3 4 7 8 9 7 (about 4.6%).
The final answer then is 3 4 7 8 9 7 + 7 5 5 8 2 7 2 = 7 , 9 0 6 , 1 6 9