Calculate the mean and variance of the discrete random variable X with:
$f(x)=\frac{1}{2^x}$ if $x=1, 2, 3, \ldots$, $f(x)=0$ otherwise.
Then, $E[X]=1(1/2)+2(1/2^2)+3(1/2^3)+4(1/2^4)+\ldots$
But now, I don't know how to express this in order to continue with my calculations.