Sum[2^i, {i, 0, n}]