Flips until three of the same face in a row
You flip a fair coin until you see of the same face in a row, that is, either HHH or TTT. A flip that differs from the one before it starts a brand-new streak of length (it is not a full reset to zero).
On average, how many flips does that take?