I am trying to build on the intuition from this answer to determine the number of coin tosses in order to obtain the pattern $T-H-H$. I did ask a similar question here but feel like I was overreaching and wasn't able to understand the answers provided unfortunately. So, I've gone with an easier question here and have given my logic.
My thinking: If $e$ is the expected number of throws, then:
$$e=\frac{1}{2}(e+1)+\frac{1}{4}(e+1)+\frac{1}{8}(e+2)+\frac{1}{8}(3).$$
where there first term on the Right Hand Side is as a result of obtaining a H on the first throw. The 2nd term is when T-T is obtained and hence effectively 1 throw is wasted and the third term is when T-H-T is obtained and hence two throws have been wasted. However, I get $e = 11$ when it is meant to be 8 and so I just wanted to figure out the issue in my logic. Also, please could someone just correct my logic and not provide another method, as I feel this is the fastest method to do this question.
Thank You