Skip to content / Đến nội dung
ThichHocToan.com

MathNet 2016-part-07 — 182 problems (EN–VI) Question 52

Math Olympiad Vault · MathNet 2016-part-07 — 182 problems (EN–VI)

Question 52

Starting with an empty string, we create a string by repeatedly appending one of the letters $H$, $M$, $T$ with probabilities $\frac{1}{4}$, $\frac{1}{2}$, $\frac{1}{4}$, respectively, until the letter $M$ appears twice consecutively. What is the expected value of the length of the resulting string?