The game allows you to bet only \$1 at a time, and if you win, you end up \$1 richer, otherwise you end up \$1 poorer. Probability of winning is $p=0.45$. If you start with \$1 - what is expected number of games before bust (i.e., \$0 dollars)?
My initial approach was essentially just: $\sum_{n=1}^{\infty} (2n-1)(0.45^{n-1})(0.55^n) {\approx} 1.212$ where $2n-1$ is the number of games played (as it must be odd because you start with \$1 and therefore must lose one more game than you win.
X = No. of Games | 1 | 3 | 5 | 7 | 9 | 11 | 13 | 15 | 17 | 19 |
---|---|---|---|---|---|---|---|---|---|---|
P(X) | 0.55 | 0.136125 | 0.0336909375 | 0.008338507031 | 0.00206378049 | 0.0005107856713 | 0.0001264194537 | 0.00003128881478 | 0.000007743981658 | 0.00000191663546 |
(i.e., a sum product of the table above)
This is apparently wrong and I'm unsure where my logic / thinking is wrong. Would love any insight!