B Simple Die Game: Win by Rolling 1-5 Before 6 - Odds of Winning?

  • B
  • Thread starter Thread starter mathman
  • Start date Start date
  • Tags Tags
    Game
mathman
Science Advisor
Homework Helper
Messages
8,130
Reaction score
573
TL;DR Summary
Throw die repeatedly
Game: throw die repeatedly until all numbers 1-5 show up ay least once (win), before a six shows up on the way (lose). Odds of winning?

Note: Someone posted this on another forum and I was able to come up with three different approaches (two very similar). Try to get them.
 
Physics news on Phys.org
Trivially, some number has to come up last. Keep rolling until 5 of the 6 numbers have been seen.
Odds are identical that any number is that last one seen, so 1 in 6 odds that it's a 6 and you win.

Given the other approaches, do any give different odds?

This game has effectively been played for years in the Price is Right game show. The standard line is that with each roll, 'the odds are never against you', which of course they are overall.
 
  • Like
Likes FactChecker, etotheipi and PeroK
Other approaches come up with same result.
 
Not a proof, but I tried
Python:
import random
count = 0
n = 100000
thrown = [0,0,0,0,0,0]
current = 0

for i in range(n):
    while(current!=5):
        current = random.randint(0, 5)
        thrown[current] = 1
        if(current==5):
            num = int("".join(str(x) for x in thrown), 2)
            if(num == 63):
                count+=1
    current = 0
    for i in range(0, len(thrown)):
        thrown[i] = 0

print(count/n)
and it gets pretty close to 0.166 with 100,000 throws.
 
  • Like
Likes Dale and sysprog
Simple proof: ignore throws which repeat a number. The following considers only throws with a new number. First throw 5/6 not 6, second throw 4/5 not 6, etc. probability of not 6 after 5 throws is 5!/6!=1/6.
 
  • Like
Likes FactChecker
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.
Back
Top