\(C=1+\frac{1}{2}\left(1+2\right)+\frac{1}{3}\left(1+2+3\right)+\frac{1}{4}\left(1+2+3+4\right)+..+\frac{1}{2016}.\left(1+2+3+...+2016\right)\)
\(C=1+\frac{1}{2}.\left(1+2\right).2:2+\frac{1}{3}.\left(1+3\right).3:2+\frac{1}{4}.\left(1+4\right).4:2+...+\frac{1}{2016}.\left(1+2016\right).2016:2\)
\(C=1+3:2+4:2+5:2+...+2017:2\)
\(C=2.\frac{1}{2}+3.\frac{1}{2}+4.\frac{1}{2}+5.\frac{1}{2}+...+2017.\frac{1}{2}\)
\(C=\frac{1}{2}.\left(2+3+4+5+...+2017\right)\)
\(C=\frac{1}{2}.\left(2+2017\right).2016:2\)
\(C=\frac{1}{2}.2019.2016.\frac{1}{2}\)
\(C=2019.504=1017576\)