2+2^2+2^3+2^4+...+2^20首项为2,公比为2的等比数列Sn=a1(1-q^n)/(1-q) =2(1-2^20)/(1-2) =2^21-2
Sn=a1(1-q^n)/(1-q)=2(1-2^20)/(1-2)=2097150=2^21-2