Câu a)
\(A=2^{100}-2^{99}+2^{98}-2^{97}+...+2^2-2\)
\(=\left(2^{100}+2^{99}+2^{98}+2^{97}+...+2^2+2\right)-2\left(2^{99}+2^{97}+2^{95}+...+2^3+2\right)\)
\(=\left(2^{100}+2^{99}+2^{98}+2^{97}+...+2^2+2\right)-\left(2^{100}+2^{98}+2^{96}+...+2^4+2^2\right)\)
\(=2^{99}+2^{97}+2^{95}+...+2^3+2\)
\(=\frac{2^2\cdot\left(2^{99}+2^{97}+2^{95}+...+2^3+2\right)-\left(2^{99}+2^{97}+2^{95}+...+2^3+2\right)}{3}\)
\(=\frac{\left(2^{101}+2^{99}+2^{97}+...+2^5+2^3\right)-\left(2^{99}+2^{97}+2^{95}+...+2^3+2\right)}{3}\)
\(=\frac{2^{101}-2}{3}\)
\(2B=\frac{2}{1.2.3}+\frac{2}{2.3.4}+\frac{2}{3.4.5}+...+\frac{2}{2015.2016.2017}\)
\(2B=\frac{1}{1.2}-\frac{1}{2.3}+\frac{1}{2.3}-\frac{1}{2.4}+...+\frac{1}{2015.2016}-\frac{1}{2016.2017}\)
\(2B=\frac{1}{1.2}-\frac{1}{2016.2017}\)
\(B=\frac{\frac{1}{1.2}-\frac{1}{2016.1017}}{2}\)