Ta có:
\(2020\equiv1\left(mod3\right)\)\(\Rightarrow2020^{2020}\equiv1\left(mod3\right)\)
\(\Rightarrow2020^{2020}+1\equiv2\left(mod3\right)\)
Lại có:
\(n^3+2018n=n\left(n^2+2018\right)\)
\(+\)Nếu n chia hết cho 3 thì \(n\left(n^2+2018\right)⋮3\)
+) Nếu \(n⋮̸3\)thì \(n^2+2018⋮3\)
Do đó n(n^2+2018) luôn chia hết cho 3
Vậy....