You can solve this by hand by using a neat trick.
Form the auxiliary function (*):
[tex]F(x)=\sum_{i=1}^{i=n}(\frac{x}{2})^{i}[/tex], that is, F(x) is readily seen to be related to a geometric sum, with alternate expression (**):
[tex]F(x)=\frac{1-(\frac{x}{2})^{n+1}}{1-\frac{x}{2}}-1[/tex]
Now, the neat trick consists of differentiating (*), and we get:
[tex]F'(x)=\sum_{i=1}^{i=n}i*x^{i-1}2^{-i}[/tex]
that is, we have:
[tex]F'(1)=\sum_{i=1}^{i=n}i*2^{-i}[/tex]
which is your original sum!
Thus, you may calculate that sum by differentiating (**) instead, and evaluate the expression you get at x=1
