The even number dice problem

You roll a fair dice until you get a 6. What is the expected number of rolls, including the roll of 6, conditioned on the event that all previous rolls (if any) were even numbers?

By the way, the "dice" I am talking about is a singular form. Search up on Oxford Dictionary.


The answer is 1.5.

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.

1 solution

Justin Chang
Nov 18, 2017

Lots of you guys should have answered 3, but that is wrong. In the event that we roll only even numbers until we roll a 6, we must only roll 2s and 4s until we eventually roll a 6. In other words, the outcome of the rolls is a sequence of 2s and 4s that eventually terminate in a 6. We are interested in the average length of the sequence, including the final 6. But there’s nothing special about 6. Since each roll shows with equal chance, the sequence could also terminate in a 1, or a 3, or a 5, and it would also have the same average length. So we ask: what is the expected number of rolls until we get a 1, 3, 5, or 6, given that all previous rolls involved 2s or 4s? We can solve this by capitalizing on the memoryless property of the geometric distribution. Consider the very first roll. There is a 4/6 chance we roll a 1, 3, 5, or 6, and the experiment ends with 1 roll. But there is also a 2/6 chance we roll a 2 or 4. In that case, we have used 1 roll. As we start out second roll, the dice has no memory of the first roll–it is like we start anew. So the expected rolls to end is now 1 more than when we started. So we have the equations:

L = E(total rolls until 1, 3, 5, 6 | previous rolls are 2, 4)

L = E(L | first roll 1, 3, 5, 6) + E(L | first roll not 1, 3, 5, 6)

L = (1)Pr(first roll 1, 3, 5, 6) + (L + 1)Pr(first roll not 1, 3, 5, 6)

L = (1)(4/6) + (L + 1)(2/6)

(4/6)L = 1

L = 6/4 = 3/2 = 1.5

Conditional on the event you only roll an even number, it only takes an expected 1.5 rolls to see a 6. This is because in most of the cases you will roll a 6 on the very first roll which brings the average down.

The question is only asking about a final "6" right? But your calculation is about it will stop at 1,3,5,6. My answer is 0.375 which is a quarter of your answer.

Kelvin Hong - 3 years, 6 months ago

Log in to reply

so you think there will be 0.375 rolls to see a 6? That is logically nonsense....

Justin Chang - 3 years, 6 months ago

Log in to reply

I also think my answer incorrect, but if I ask the same but the dice end with 1,3,5,6, will the answer differ?

Kelvin Hong - 3 years, 6 months ago

How can you possibly roll a dice 1.5 times?

Sahil Silare - 3 years, 6 months ago

Log in to reply

I am talking about probability, not the exact amount of times you would roll the dice and the number will come out.

Justin Chang - 3 years, 5 months ago

Log in to reply

Its clearly written- "What is the expected number of rolls".

Sahil Silare - 3 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...