$$\sum_{i=0}^n \frac{i}{2^i} = 2 - \frac{n+2}{2^n} $$
Let's skip the check, since when n = 1, I have $\frac{1}{2} = \frac{1}{2}$
What i will next do ? What for expression i may receive ?
$$\sum_{i=0}^{n+1}\frac{i}{2^i} = 2 - \frac{n+2}{2^n} $$
My trying :
$$ \biggl(\sum_{i=0}^{n+1}\frac{i}{2^i} = 2 - \frac{n+2}{2^n}\biggl) = \frac{n+1}{2^{n+1}} $$
or
$$ \biggl(\sum_{i=0}^{n+1}\frac{i}{2^i} = 2 - \frac{n+2}{2^n}\biggl) = \frac{2^{n+2}-(n+1)+2}{2^{n+1}} $$
Which answer should I use? And how will I decide next?