\(A=4+2^2+2^3+..+2^{20}\)
\(\Rightarrow2A=8+2^3+2^4+...+2^{21}\)
\(\Rightarrow2A-A=\left(2^3+2^3+....+2^{21}\right)-\left(2+2+2^2+...+2^{20}\right)\)
\(\Rightarrow A=\left(2^3+2^{21}\right)-\left(2+2+2^2\right)\)
\(\Rightarrow A=2^{21}+8-8\)
\(\Rightarrow A=2^{21}\)