S = 1 + 2 + 22 + ... + 29 + 210
2S = 2 . ( 1 + 2 + 22 + ... + 29 + 210 )
2S = 2 + 22 + 23 + ... + 210 + 211
2S - S = ( 2 + 22 + 23 + ... + 210 + 211 ) - ( 1 + 2 + 22 + ... + 29 + 210 )
S = 211 - 1
S = 1 + 2 + 22 + ... + 29 + 210
2S = 2 . ( 1 + 2 + 22 + ... + 29 + 210 )
2S = 2 + 22 + 23 + ... + 210 + 211
2S - S = ( 2 + 22 + 23 + ... + 210 + 211 ) - ( 1 + 2 + 22 + ... + 29 + 210 )
S = 211 - 1
S = 1 + 2 + 22 + ... + 29 + 210
2S = 2 . ( 1 + 2 + 22 + ... + 29 + 210 )
2S = 2 + 22 + 23 + ... + 210 + 211
2S - S = ( 2 + 22 + 23 + ... + 210 + 211 ) - ( 1 + 2 + 22 + ... + 29 + 210 )
S = 211 - 1
S = 1 + 2 + 22 + ... + 29 + 210
2S = 2 . ( 1 + 2 + 22 + ... + 29 + 210 )
2S = 2 + 22 + 23 + ... + 210 + 211
2S - S = ( 2 + 22 + 23 + ... + 210 + 211 ) - ( 1 + 2 + 22 + ... + 29 + 210 )
S = 211 - 1
S = 1 + 2 + 22 + ... + 29 + 210
2S = 2 . ( 1 + 2 + 22 + ... + 29 + 210 )
2S = 2 + 22 + 23 + ... + 210 + 211
2S - S = ( 2 + 22 + 23 + ... + 210 + 211 ) - ( 1 + 2 + 22 + ... + 29 + 210 )
S = 211 - 1
Ta có: S = 1 + 2 + 22 + ........ + 210
=> 2S = 2 + 22 + 23 +........ + 211
=> 2S - S = 211 - 1
=> S = 211 - 1
Ta có: S = 1 + 2 + 22 + ........ + 210
=> 2S = 2 + 22 + 23 +........ + 211
=> 2S - S = 211 - 1
=> S = 211 - 1
S = 1 + 2 + 2 ^ 2 + ... + 2 ^ 9 + 2 ^ 10
2S = 2 + 2 ^ 2 + 2 ^3 +... + 2 ^ 10 + 2 ^ 11
2S - S = ( 2 + 2 ^ 2 + 2 ^3 +... + 2 ^ 10 + 2 ^ 11 )
- ( 1 + 2 + 2 ^ 2 + ... + 2 ^ 9 + 2 ^ 10 )
S = 2 ^ 11 - 1
s = 2047
2S=2.(1+2+22+...+29+210)
2S=2+22+23+...+210+211
S=2S-S
S=(2+22+23+...+210+211) - (1+2+22+...+29+210)
S=2+22+23+...+210+211-1-2-22-...-29-210
S=-1+211
S=-1+2048
S=2047