[next] [prev] [prev-tail] [tail] [up]
Let Ij be the indicator random variable for HTH pattern starting on the j-th toss. Since the tosses are independent, P(Ij=1)=18 for 1≤j≤n−2.
Let X=∑n−2j=1Ij be the number of HTH patterns in n independent coin tosses. Then,
[next] [prev] [prev-tail] [front] [up]