\(A=1+2+2^2+...+2^{2019}+2^{2020}\)
\(A=1+2+\left(2^2+2^3+2^4\right)+...+\left(2^{2018}+2^{2019}+2^{2020}\right)\)
\(A=3+2^2\left(1+2+2^2\right)+...+2^{2018}\left(1+2+2^2\right)\)
\(A=3+2^2.7+....+2^{2018}.7\)
\(A=3+7\left(2^2+....+2^{2018}\right)\)
Vì 3 ko chia hết cho 7
=> A ko chia hết cho 7
=> A dư 3