A = 1 + 2 + 4 + 8 + 16 + ... + 8192
A = 20 + 21 + 22 + 23 + 24 + ... + 213
2A = 21 + 22 + 23 + 24 + 25 + ... + 214
2A - A = (21 + 22 + 23 + 24 + 25 + ... + 214) - (20 + 21 + 22 + 23 + 24 + ... + 213)
A = 214 - 20
A = 16384 - 1
A = 16383
Ta có: A = 1 + 2 + 4 + 8 + 16 + ....... + 8192
=> 2A = 2 + 4 + 8 + 16 + ....... + 8192 + 16384
=> 2A - A = 16384 - 1
=> A = 16383