\(C=1+3^1+3^2+...+3^{99}\)
\(=\left(1+3^1\right)+\left(3^2+3^3\right)+...+\left(3^{98}+3^{99}\right)\)
\(=\left(1+3\right)+3^2\left(1+3\right)+...+3^{98}\left(1+3\right)\)
\(=4\left(1+3^2+...+3^{98}\right)\)chia hết cho \(4\).
\(C=1+3^1+3^2+...+3^{99}\)
\(=\left(1+3^1+3^2+3^3\right)+...+\left(3^{96}+3^{97}+3^{98}+3^{99}\right)\)
\(=\left(1+3^1+3^2+3^3\right)+...+3^{96}\left(1+3^1+3^2+3^3\right)\)
\(=40\left(1+3^4+...+3^{96}\right)\)chia hết cho \(40\).