\(M=1-2+2^2-2^3+2^4-2^5+...+2^{98}-2^{99}\)
\(=1-\left(2-2^2\right)-\left(2^3-2^4\right)-...-\left(2^{98}-2^{99}\right)\)
\(=1-2\left(1-2\right)-2^2\left(1-2\right)-...-2^{98}\left(1-2\right)\)
\(=1+2+2^2+...+2^{98}\)
\(2M=2+2^2+2^3+...+2^{99}\)
\(2M-M=\left(2+2^2+2^3+...+2^{99}\right)-\left(1+2+2^2+...+2^{98}\right)\)
\(M=2^{99}-1\)