Expected flips to two heads in a row with a biased coin
Asked at Optiver, SIG
You flip a biased coin that lands heads with probability (tails with probability ).
What is the expected number of flips until you first see two heads in a row (HH)?
Show a hint
Same two-state recursion as the fair-coin case, but keep symbolic and plug in at the end.