Ta có :
\(M=3^3+3^4+.....+3^{15}+3^{16}\)
\(\Rightarrow M=3^3\left(1+3\right)+......+3^{15}\left(1+3\right)\)
\(\Rightarrow M=3^3.4+......+3^{15}.4\)
=> M chia hết cho 4 .
\(M=\left(3^3+3^5\right)+....+\left(3^{14}+3^{16}\right)\)
\(\Rightarrow M=3^3\left(1+9\right)+.....+3^{14}\left(1+9\right)\)
\(\Rightarrow M=3^3.10+.....+3^{14}.10\)
=> M chia hết cho 10