用归纳法证明对于 n > 0,sum(2^i, {i, 0, n}) = 2^(n+1) - 1