\(B=1+\frac{1}{2}\left(1+2\right)+\frac{1}{3}\left(1+2+3\right)+...+\frac{1}{x}\left(1+2+3+...+x\right)\)
\(=1+\frac{1}{2}.\frac{2.3}{2}+\frac{1}{3}.\frac{3.4}{2}+...+\frac{1}{x}.\frac{x\left(x+1\right)}{2}\)
\(=\frac{1}{2}\left(2+3+4+...+x+1\right)\)
\(=\frac{1}{2}.\frac{\left(x+1+2\right)x}{2}=\frac{1}{4}\left(x+3\right)x\)
Để B=115 thì \(\frac{1}{4}\left(x+3\right)x=115\)
\(\Leftrightarrow\frac{1}{4}x^2+\frac{3}{4}x-115=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x=20\\x=-23\left(loai\right)\end{matrix}\right.\)
Vậy x=20 thì B=115