\(S=1+2+2^2+.......+2^{89}\)
\(\Leftrightarrow2S=2+2^2+........+2^{90}\)
\(\Leftrightarrow2S-S=\left(2+2^2+........+2^{89}+2^{90}\right)-\left(1+2+........+2^{89}\right)\)
\(\Leftrightarrow S=2^{90}-1\)
S = 1 + 2 + 22 + 23 + ......... + 289
S = 20 + 21 + 22 + 23 + ....... + 289
21 . S = 21 . ( 20 + 21 + 22 + 23 + ...... + 289 )
2S = 21 + 22 + 23 + 24 + .......... 290
2S - S = ( 21 + 22 + 23 + 24 + ....... + 290 ) - ( 1 + 2 + 22 + 23 + ..... + 289 )
S = 290 - 1
Vậy S = 290 - 1