The summation is as follows: \begin{eqnarray*} \sum_{i=1}^n\frac{2+i}{2^i} \end{eqnarray*} For some reason, I can't seem to figure out what I'm supposed to do here. I tried breaking it up like \begin{eqnarray*} \sum_{i=1}^n\frac{2}{2^i}+\sum_{i=1}^n\frac{i}{2^i} \end{eqnarray*} but I still don't know what I can do with the closed form.
I tried finding a pattern as well by plugging and chugging, and I came up with sum from $i = 3$ to $n$ \begin{eqnarray*} \sum_{i=3}^n\frac{i}{2^i} \end{eqnarray*} but that's just the second half of my first equation.
So confused as to how I might go about solving this one. How would you break this apart to make it easier to work with?
HINT:
$$x\frac{d}{dx}\sum_{i=1}^nx^{i}=\sum_{i=1}^nix^{i}$$
Now, sum the geometric series and let $x=1/2$.