- Tính A trước:
\(A=\frac{\left(2015+1\right).2017-2}{2015+2015.2017}\)
\(A=\frac{2017.2015+2017-2}{2017.2015+2015}\)
\(A=\frac{2017.2015+2015}{2017.2015+2015}\)
\(A=1\)
- Tính B:
\(B=\frac{-2016.20172017}{2017.20162016}\)
\(B=\frac{-2016}{2017}.\frac{20172017}{20162016}\)
\(B=\frac{-10001}{10001}\)
\(B=-1\)
Vậy ta có: \(A+B=1-1=0\)