sum 2^n, n=-2 to 10