Fair game paradox
A fair coin is flipped repeatedly until the first heads appears. The payout is dollars if the first heads occurs on the th toss. Determine the fair value of this game. If the expected value is infinite, output .
Solution
Let be the number of coin flips until the first heads appears. Since the coin is fair, follows a geometric distribution with success probability : for (the first flips are tails and the th flip is heads). The payout when is dollars. The expected value of the payout is
Since the expected value is infinite, the game does not have a finite fair value. Per the problem instructions, output .