\(A=2^{2018}-\left(1+2+2^2+...+2^{2017}\right)\)
Đặt \(B=1+2+2^2+...+2^{2017}\)
\(\Rightarrow2B=2+2^2+2^3+...+2^{2017}+2^{2018}\)
\(\Rightarrow2B-B=\left(2+2^2+2^3+...+2^{2017}+2^{2018}\right)-\left(1+2+2^2+...+2^{2017}\right)\)
\(B=2^{2018}-1\)
\(\Rightarrow A=2^{2018}-2^{2018}+1=1\)