Cách 1:A = 2 + 22 + 23 + ... + 220 (có 20 số; 20 chia hết cho 4)
A = (2 + 22 + 23 + 24) + (25 + 26 + 27 + 28) + ... + (217 + 218 + 219 + 220)
A = 30 + 24.(2 + 22 + 23 + 24) + ... + 216.(2 + 22 + 23 + 24)
A = 30 + 24.30 + ... + 216.30
A = 30.(1 + 24 + ... + 2116)
A = (...0)
Cách 2: A = 2 + 22 + 23 + ... + 220
2A = 22 + 23 + 24 + ... + 221
2A - A = (22 + 23 + 24 + ... + 221) - (2 + 22 + 23 + ... + 220)
A = 221 - 2
A = 220.2 - 2
A = (24)5.2 - 2
A = (...6)5.2 - 2
A = (...6).2 - 2
A = (...2) - 2
A = (...0)