Lời giải:
\(A=\frac{1}{1.2}+\frac{1}{3.4}+...+\frac{1}{2017.2018}=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{2017}-\frac{1}{2018}\)
\(=\left(1+\frac{1}{3}+\frac{1}{5}+...+\frac{1}{2017}\right)-\left(\frac{1}{2}+\frac{1}{4}+...+\frac{1}{2018}\right)\)
\(=\left(1+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+...+\frac{1}{2017}+\frac{1}{2018}\right)-2\left(\frac{1}{2}+\frac{1}{4}+...+\frac{1}{2018}\right)\)
\(=\left(1+\frac{1}{2}+\frac{1}{3}+...+\frac{1}{2018}\right)-\left(1+\frac{1}{2}+...+\frac{1}{1009}\right)\)
\(=\frac{1}{1010}+\frac{1}{1011}+...+\frac{1}{2018}\)
\(3028B=\frac{1010+2018}{1010.2018}+\frac{1011+2017}{1011.2017}+..+\frac{2018+1010}{2018.1010}\)
\(=(\frac{1}{2018}+\frac{1}{2017}+\frac{1}{2016}+...+\frac{1}{1010})+(\frac{1}{1010}+\frac{1}{1011}+...+\frac{1}{2018})\)
\(=2A\)
\(\Rightarrow \frac{A}{B}=1514\in \mathbb{Z}\)
Lời giải:
\(A=\frac{1}{1.2}+\frac{1}{3.4}+...+\frac{1}{2017.2018}=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+...+\frac{1}{2017}-\frac{1}{2018}\)
\(=\left(1+\frac{1}{3}+\frac{1}{5}+...+\frac{1}{2017}\right)-\left(\frac{1}{2}+\frac{1}{4}+...+\frac{1}{2018}\right)\)
\(=\left(1+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+...+\frac{1}{2017}+\frac{1}{2018}\right)-2\left(\frac{1}{2}+\frac{1}{4}+...+\frac{1}{2018}\right)\)
\(=\left(1+\frac{1}{2}+\frac{1}{3}+...+\frac{1}{2018}\right)-\left(1+\frac{1}{2}+...+\frac{1}{1009}\right)\)
\(=\frac{1}{1010}+\frac{1}{1011}+...+\frac{1}{2018}\)
\(3028B=\frac{1010+2018}{1010.2018}+\frac{1011+2017}{1011.2017}+..+\frac{2018+1010}{2018.1010}\)
\(=(\frac{1}{2018}+\frac{1}{2017}+\frac{1}{2016}+...+\frac{1}{1010})+(\frac{1}{1010}+\frac{1}{1011}+...+\frac{1}{2018})\)
\(=2A\)
\(\Rightarrow \frac{A}{B}=1514\in \mathbb{Z}\)