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