Ta có:
A =2100-299+298-297+.....+22-21
=>2A=2101-2100+299-298+.....+23-22
=>2A+A=(2101-2100+299-298+.....+23-22) + (2100-299+298-297+....+22-21)
=>3A=2101-2
=>A=\(\frac{2^{101}-2}{3}\)
Vậy A=\(\frac{2^{101}-2}{3}\).
\(A=2^{100}-2^{99}+2^{98}-2^{97}+...+2^2-2\)
\(\Rightarrow2A=2^{101}-2^{100}+2^{99}-2^{98}+...+2^3-2^2\)
\(\Rightarrow2A+A=\left(2^{101}-2^{100}+2^{99}-2^{98}+...+2^3-2^2\right)+\left(2^{100}-2^{99}+2^{98}-2^{97}+...+2^2-2\right)\)
\(\Rightarrow3A=2^{101}-2\)
\(\Rightarrow A=\frac{2^{101}-2}{3}\)
\(A=2^{100}-2^{99}+2^{98}-2^{97}+...+2^2-2^1\)
\(\Rightarrow2A=2^{101}-2^{100}+2^{99}-2^{98}+...+2^3-2^2\)
\(\Rightarrow2A+A=\left(2^{101}-2^{100}+2^{99}-2^{98}+...+2^3-2^2\right)+\left(2^{100}-2^{99}+2^{98}-2^{97}+...+2^2-1\right)\)
\(\Rightarrow3A=2^{101}-1\)
\(\Rightarrow A=\frac{2^{101}-1}{3}\)