\(S=\left(1+3\right)+3^2\left(1+3\right)+...+3^8\left(1+3\right)=4\left(1+...+3^8\right)⋮4\)
\(3S=3+3^2+3^3+...+3^{10}\\ \Rightarrow3S-S=3+3^2+...+3^{10}-1-3-3^2-...-3^9\\ \Rightarrow2S=3^{10}-1\\ \Rightarrow S=\dfrac{3^{10}-1}{2}\)
Ta có \(S=\left(1+3\right)+\left(3^2+3^3\right)+...+\left(3^8+3^9\right)\)
\(S=\left(1+3\right)+3^2\left(1+3\right)+...+3^8\left(1+3\right)\\ S=\left(1+3\right)\left(1+3^2+...+3^8\right)=4\left(1+3^2+...+3^8\right)⋮4\)