\(S=1+3+3^2+...+3^9\)
Ta có: \(S=\left(1+3\right)+\left(3^2+3^3\right)+...+\left(3^8+3^9\right)\)
\(S=4+3^2.\left(1+3\right)+...+3^8.\left(1+3\right)\)
\(S=4+3^2.4+...+3^8.4\)
\(S=4.\left(1+3^2+...+3^8\right)\)
Vì \(4⋮4\) nên \(4.\left(1+3^2+...+3^8\right)⋮4\)
Vậy \(S⋮4\).
\(#NqHahh\)