PROJECT EULER · #0436
Unfair Wager
Julie proposes the following wager to her sister Louise.
She suggests they play a game of chance to determine who will wash the dishes.
For this game, they shall use a generator of independent random numbers uniformly distributed between
The game starts with
The first player, Louise, adds to
The second player, Julie, continues adding to
The player with the highest number wins and the loser washes the dishes, i.e. if
For example, if the first player draws
If the second players draws
Louise thinks about it for a second, and objects: "That's not fair".
What is the probability that the second player wins?
Give your answer rounded to
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.