2S=2+22+23+...........+221
2S-S=(2+22+23+............+221)-(1+22+..+220)
=>S=221-1
2S = 2 . ( 1 + 22 + 23 + 24 + ... + 219 + 220 )
2S = 2 + 23 + 24 + ... + 220 + 221
S = 2S - S = ( 2 + 23 + 24 + ... + 220 + 221 ) - ( 1 + 22 + 23 + 24 + ... + 219 + 220 )
S = ( 2 + 221 ) - ( 1 + 22 )