Probability

Parity of the First Repeat in Coin Flips

Difficulty
You flip a fair coin until two consecutive flips match (HH or TT) for the first time. What is the probability that the total number of flips is even?
Scratchpad