A=1+22+23+....+22016+22017
=>2A=2+22+23+24+.....+22016+22017+22018
=>2A-A=(2+22+23+24+....+22016+22017+22018) - (1+2+22+23+....+22016+22017)
=>A=22018-1
Tìm số dư khi chia A cho 7 biết rằng : A = 1 + 2 + 22 + 23 + ... + 22016 + 22017
A=1+22+23+....+22016+22017
=>2A=2+22+23+24+.....+22016+22017+22018
=>2A-A=(2+22+23+24+....+22016+22017+22018) - (1+2+22+23+....+22016+22017)
=>A=22018-1