Possible Duplicate:
Value of $\\sum x^n$
I was wondering how to derive a closed formula for things like $\sum_{i=1}^{n}2^{n}$=$2(2^{n}-1)$ and $\sum_{n=k}^{n}2^{n-k}$=$2^{n-k+1}-1$. I haven't done this in a while, and had wolfram do it for me, and I am not sure what the general tactic in getting these formulas is. Your help is appreciated!