\(1+2+...+n=\frac{n\left(n+1\right)}{2}\)
\(\Rightarrow1-\frac{1}{1+2+...+n}=1-\frac{2}{n\left(n+1\right)}=\frac{\left(n-1\right)\left(n+2\right)}{n\left(n+1\right)}\)
\(\Rightarrow B=\frac{1.4}{2.3}.\frac{2.5}{3.4}.\frac{3.6}{4.5}...\frac{2016.2019}{2017.2018}\)
\(\Rightarrow B=\frac{1.2.3...2016}{2.3.4...2017}.\frac{4.5.6...2019}{3.4.5...2018}=\frac{1}{2017}.\frac{2019}{3}=\frac{673}{2018}\)