|
|
|
|
|
by kurumo
5083 days ago
|
|
I have been using this when interviewing people with math degrees: Two players play a game with a single six-sided die. The player that starts can only win by rolling a 1. If he or she doesn't win, the other player gets to roll; he or she can only win by rolling a 6. The game continues until one player wins. What's the probability the first player wins (eventually)? |
|
Player 1 wins based on the following series:
Chance to get a 1 (turn 1): 1/6 Chance to be allowed to roll: Previous chance to be allowed to roll * 5/6 (Chance player 1 didn't roll a 1) * 5/6 (Chance player 2 didn't roll a 6) Chance to get a 1 (turns 2+): Chance to be allowed to roll * Chance to get a 1
So... summation( 1/6 * (25/36)^(n-1) )
I don't know what that comes out to be.