Make the House Win

In this problem , a casino wanted to introduce the following game and charge $ 20 \$20 for every player that plays:

  • The player flips a fair coin until he or she flips heads.
  • The starting prize is $ 2 \$2 (if the player flips heads on the first flip).
  • The prize doubles with each flip after the first.

For example, if somebody flipped tails-tails-tails-heads, then his or her prize would be $ 16 \$16 ( $ 2 \$2 doubled three times).

However, the casino realized that the house will eventually lose with these rules when some lucky person flips an unusually high number of tails in a row, so the casino owner wants to revise the first rule to:

  • The player flips a fair coin until he or she flips heads or until he or she flips the coin n n times .

Find the maximum value of n n so that the house can still expect to make a profit.


The answer is 18.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Simon Kaib
Sep 5, 2019

Let E ( x ) E(x) be the expected payout in relation to the maximum number of coin flips n n . We need to find the value of n n , such that E ( n ) < $ 20 E(n)<\$20 and E ( n + 1 ) $ 20 E(n+1)\geq \$20 .

Let k n k\leq n . The probability of throwing k 1 k-1 times tails and then throwing heads is ( 2 k ) 1 (2^{k})^{-1} , in which case we get $ 2 k \$2^k . The probability of throwing n n times tails is ( 2 n ) 1 (2^{n})^{-1} , in which case we get $ 2 n \$2^n . Thus, E ( x ) E(x) is equal to E ( x ) = i = 1 x ( $ 2 i 1 2 i ) + $ 2 x 1 2 x = $ ( x + 1 ) E(x)=\sum_{i=1}^{x}\left(\$2^i\: \frac{1}{2^{i}}\right)+\$2^x\: \frac{1}{2^{x}}=\$(x+1)

Thus, E ( 18 ) = $ 19 < $ 20 E(18)=\$19<\$20 and E ( 19 ) = $ 20 E(19)=\$20 , which yields a solution of n = 18 n=\boxed{18} .

Nice solution!

David Vreken - 1 year, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...