A = 1 + 2 + 22 + ... + 22021
2A = 2 + 4 + 23 + ... 22022
A = 22022 - 1
\(A=1+2+2^2+...+2^{2020}+2^{2021}\)
\(2A=2+2^2+2^3+...+2^{2021}+2^{2022}\)
\(2A-A=\left(2+2^2+2^3+...+2^{2021}+2^{2022}\right)-\left(1+2+2^2+...+2^{2020}+2^{2021}\right)\)
\(A=2^{2022}-1\)