a) \(A=2+2^2+2^3+...+2^{20}\)
\(A=\left(2+2^2\right)+\left(2^3+2^4\right)+...+\left(2^{19}+2^{20}\right)\)
\(A=2\cdot\left(1+3\right)+2^3\cdot\left(1+3\right)+...+2^{59}\cdot\left(1+3\right)\)
\(A=3\cdot\left(2+2^3+...+2^{59}\right)\)
Vậy A chia hết cho 3
________
\(A=2+2^2+2^3+...+2^{20}\)
\(A=\left(2+2^3\right)+\left(2^2+2^4\right)+...+\left(2^{58}+2^{60}\right)\)
\(A=2\cdot\left(1+4\right)+2^2\cdot\left(1+4\right)+...+2^{58}\cdot\left(1+4\right)\)
\(A=5\cdot\left(2+2^2+...+2^{58}\right)\)
Vậy A chia hết cho 5