The original problem is: Flip a fair coin until the third head appears, and then stop right after that flip. What is the probability that it took you "i" flips to accomplish this?
Why is it: (combination of 2 out of (i-1))/2^i and not: (combination of 3 out of i)/2^i ?