Coin flip: Double or Nothing

2.1k Views Asked by At

I have an amount of chips to bet on a fair coin flipping and landing on heads. For each time in a row that it does land on heads, the amount of chips in the bet is doubled by the house, and I am able to take away any portion of chips from the bet as they are won. Say I have one thousand chips. What should I bet, and when and how many chips should I take out from the bet when I do win?