Đặt \(A=2^{2009}+2^{2008}+...+2+2^0\)
\(=1+2+...+2^{2008}+2^{2009}\)
\(\Rightarrow2A=2+2^2+...+2^{2010}\)
\(\Rightarrow2A-A=\left(2+2^2+...+2^{2010}\right)-\left(1+2+...+2^{2009}\right)\)
\(\Rightarrow A=2^{2010}-1\)
\(\Rightarrow M=2^{2010}-\left(2^{2010}-1\right)\)
\(=2^{2010}-2^{2010}+1=1\)
Vậy M = 1