Runs of Consecutive Successes
You draw cards one at a time from a standard 52-card deck, replacing and reshuffling after each draw. Find the expected number of draws needed to see four jacks drawn consecutively.
Work it out, then compare with the answer.
SolutionShow the worked solution
Each draw is a jack with probability , independently of the others, because the deck is replaced and reshuffled. Write and let be the expected number of draws.
Key idea. Condition on when the current streak of jacks first breaks.
Look at the first draws. Two things can happen.
- The first non-jack is draw , for some . This has probability . We have used draws and must start again from scratch.
- All draws are jacks. This has probability , and we stop after draws.
Hence
Collect the terms. Their total coefficient on the right is , so
The right-hand side is , where is the position of the first non-jack. Since ,
Therefore
With and :
Generalisation. The expected wait for consecutive successes with success probability is
Variations
The same idea with a twist. Each solution gives only the changed step.
Alice and Bob repeatedly toss a fair coin. Alice wins as soon as three heads appear in a row; Bob wins as soon as three tails appear in a row. Find the expected number of tosses until one of them wins.
Work it out, then compare with the answer.
Solution
Call a toss after the first a match if it equals the previous toss. Each such toss is a match with probability , independently of all earlier tosses.
The game ends exactly when two consecutive matches occur, since that means three equal tosses in a row. By the main result with and , the expected number of tosses after the first is
Adding the first toss gives