A = (21 + 22 + 23 + ... + 259 + 260)
A = 20(21 + 22 + 23) + 23(21 + 22 + 23) + ... + 257(21 + 22 + 23)
A = (21 + 22 + 23) + (20 + 23 + ... + 257)
A = 14(20 + 23 + ... + 257) chia hết cho 7
=> A chia hết cho 7.
A=2(1+2+4)+24(1+2+4)+27(1+2+4)+...+258(1+2+4)
A=(1+2+4)(2+24+27+...+258)
A=7.(2+24+27+...+258) chia hết cho 7
A= (2^1 + 2^2 + 2^3) + (2^4 + 2^5 + 2^6) +...+ (2^58 + 2^59 + 2^60)
= 2(1+2+2^2) + 2^4(1+2+2^2) +...+ 2^58(1+2+2^2)
= 2.7 + 2^4.7 +...+ 2^58.7
= 7(2 + 2^5 +...+ 2^58)
Vậy A chia hết cho 7