Ta có: \(\dfrac{1}{n.\left(n+1\right).\left(n+2\right)}=\dfrac{1}{2}.\left(\dfrac{\left(n+2\right)-n}{n\left(n+1\right)\left(n+2\right)}\right)=\dfrac{1}{2}\left(\dfrac{1}{n\left(n+1\right)}-\dfrac{1}{\left(n+1\right)\left(n+2\right)}\right)\)
\(\Rightarrow B=\dfrac{1}{1.2.3}+\dfrac{1}{2.3.4}+\dfrac{1}{3.4.5}+...+\dfrac{1}{n\left(n+1\right)\left(n+2\right)}\)
\(=\dfrac{1}{2}.\left(\dfrac{1}{1.2}-\dfrac{1}{2.3}+\dfrac{1}{2.3}-\dfrac{1}{3.4}+\dfrac{1}{3.4}-\dfrac{1}{4.5}+...+\dfrac{1}{n\left(n+1\right)}-\dfrac{1}{\left(n+1\right)\left(n+2\right)}\right)\)\(=\dfrac{1}{2}.\left(\dfrac{1}{2}-\dfrac{1}{\left(n+1\right)\left(n+2\right)}\right)=\dfrac{n^2+3n}{4\left(n+1\right)\left(n+2\right)}\)