Expected Gambler's Duration I
A gambler starts with </code>k$ , where is an integer. Each round of a game, the gambler has probability of winning, independently between rounds, while the casino has probability of winning. Assume . The winner of each round receives $$1$ from the loser. If the gambler has either $$0$ or </code>m$ , where , at any point, they leave the table. Assuming that the casino has unlimited money, find the expected number of rounds that the gambler plays. Report the answer to the nearest integer when and .
Answer format: enter an integer.
Sign in to answer questions and track your progress
Sign In