How do you simulate a 10 sided die using a 6 sided die.
I came across this question in my Probability textbook
My 2 approaches:
E[x] of 10 sided die = 5.5, E[x] of 6 sided die = 3.5
1st Method:
Roll the 6 sided twice. Now on the 3rd roll keep rolling until you get a (1,2,3,4,5) and reject/reroll a 6. Now divide the result of the 3rd roll by 2 and subtract from the sum of the 1st 2 rolls.
E[x] = 3.5 + 3.5 - (3/2) = 5.5
2nd Method:
Roll the 6 sided die. Now for the 2nd roll keep rolling until you get a (1,2, or 3) i.e. reject/reroll on (4,5, or 6).
E[x] = 3.5 + 2 = 5.5
I realize that the 1st method is probably better in terms of fewer rolls required on average
I am wondering if there is some other more optimal solution that reduces the average number of rolls required. Thanks!