How to solve this double series problem:
$$\sum_{m=0}^{\infty}\sum_{n=0}^{m}\left[\mathrm{C}_{n}^{m}(m+n+2)\left(\frac{1}{2}\right)^{m+n}\right]$$
where $\mathrm{C}_{n}^{m}\equiv\frac{m!}{(m-n)!n!}$ is "combination without repetition".
The answer is 24.
Note. This double summation is midway in solving a "toss coin" question: What is the expected value of times until the sequence HH appears? For example, "THTHH" takes 5 times, "HH" takes 2 times, and "HTHH" takes 4 times. We can have the answer alternatively by simulation. (H is head, and T is tail)
I can only solve it by simulation.