I am trying to compute the sum
$\sum_{i=0}^{\infty} \frac{i}{2^i}$
which I know should be equal to $2$, but I cannot prove it.
If I am not mistaken, it should be a arithmetico-geometric series (Wikipedia), hence the title.
Any help greatly appreciated!