1. We have the following formulas:
$$
\begin{array}{l}
1^{2}+2^{2}+\cdots+n^{2}=\frac{n(n+1)(2 n+1)}{6} \\
1^{3}+2^{3}+\cdots+n^{3}=\left[\frac{n(n+1)}{2}\right]^{2}
\end{array}
$$

Calculate: $\left(1^{3}+3 \times 1^{2}+3 \times 1\right)+\left(2^{3}+3 \times 2^{2}+3 \times 2\right)+\cdots+\left(99^{3}+3 \times 99^{2}+3 \times 99\right)$.