-Ta có công thức với n∈N* thì:\(1+2+...+n=\dfrac{\left(\dfrac{n-1}{1}+1\right)\left(n+1\right)}{2}=\dfrac{n\left(n+1\right)}{2}\)
\(B=1+\dfrac{1}{2}.\left(1+2\right)+\dfrac{1}{3}.\left(1+2+3\right)+...+\dfrac{1}{2022}.\left(1+2+3+...+2022\right)\)
\(=1+\dfrac{1}{2}.\dfrac{2.3}{2}+\dfrac{1}{3}.\dfrac{3.4}{2}+...+\dfrac{1}{2022}.\dfrac{2022.2023}{2}\)
\(=\dfrac{2}{2}+\dfrac{3}{2}+\dfrac{4}{2}+...+\dfrac{2023}{2}\)
\(=\dfrac{2+3+4+...+2023}{2}=\dfrac{1+2+3+4+...+2022}{2}=\dfrac{\dfrac{2022.2023}{2}}{2}=10222626,5\)