"I noticed the difference in i but I am not really sure how to be able to change the summation formula to account for that, like how I can change the summation formula to consider different values of i :S "
The sumation index makes all the difference.
You can always do this:
$\sum_{i=0}^n a_i = \sum_{i=0}^k a_i + \sum_{i=k+1}^n a_i$ for any $0 < k < n$
So $\sum_{i=0}^2 2^i = 2^0 + \sum_{i=1}^n 2^i=$
$ 1 + \sum_{i=1}^n 2^i$ so $\sum_{i=1}^n 2^i = \sum_{i=0}^2 2^i - 1 = $
$(2^{n+1}-1) - 1 = 2^{n+1} - 2$.
....
and if you are really clever you can to this.
$\sum_{i=1}^n 2^i$; for each $i$ let's let $i = k+ 1$ so....
$\sum_{i=1;\text{ or } k = 0}^{i = n; \text{ or } k=n-1} (2^i=2^{k+1}) =$
$\sum_{k = 0}^{n-1} 2^{k+1} =$
$\sum_{k=0}^{n-1} 2*2^k = 2\sum_{k=0}^{n-1}2^k=$
$2(2^n - 1) = 2^{n+1} - 2$.
You can sleep on the second part.