$$\sum_{i=0}^{n} 2^{i/2} = (1+ \sqrt2)\left(2^{\frac{n+1}2} -1\right)$$
I know the above is true, but how would I get the right hand side? This summation shows up from a algorithm recurrence problem I have.
$$\sum_{i=0}^{n} 2^{i/2} = (1+ \sqrt2)\left(2^{\frac{n+1}2} -1\right)$$
I know the above is true, but how would I get the right hand side? This summation shows up from a algorithm recurrence problem I have.
Hint: $$\sum_{i=0}^n 2^{i/2}=\sum_{i=0}^n (\sqrt{2})^i,$$ i.e. a geometric series...