Expected number of HT patterns in 100 coin flips
A fair coin is flipped times.
What is the expected number of positions where a head is immediately followed by a tail (the pattern HT)?
Show a hint
Put an indicator on each adjacent pair of flips, not on each flip. How many such pairs are there, and how likely is each to be "HT"?