x be the number of filps of a coin, which comes up heads with probility p, that are necessary to obtain the pattern H, T, H, H, T, H, T, H.