Author:
Christine Farr

A roulette wheel has 38 numbers. Eighteen of the numbers are black, eighteen are red, and two are green. When the wheel is spun, the ball is equally likely to land on any of the 38 numbers. Each spin of the wheel is independent of all other spins of the wheel. One roulette bet is a bet on black—that the ball will stop on one of the black numbers. The payoff for winning a bet on black is $2 for every $1 one bets; that is, if you win, you get the dollar ante back and an additional dollar, for a net gain of $1, while if you lose, you gets nothing back, for a net loss of $1. Each $1 bet thus results in the gain or loss of $1. Suppose one repeatedly places $1 bets on black, and plays until either winning $3 more than he has lost, or loses $3 more than he has won. Equivalently, one plays until the first time that | net winnings | = | $won ? $bet | = |$2×(#bets won) ? $1×#bets | = $3, where |x| is the absolute value of x.The chance that one places exactly 5 bets before stopping is?What I am doing is 5(p^4q + pq^4) - (p^3 + q^3) = 0.0621 but this is wrong.

Tutorial