\(n^5+2021=30m\Leftrightarrow n^5-19=30\left(m-68\right)\)
\(\Rightarrow n^5\equiv19\left(mod30\right)\)
Mà \(19^5\equiv19\left(mod30\right)\Rightarrow n\equiv19\left(mod30\right)\)
\(\Rightarrow n=30k+19\) với \(\left\{{}\begin{matrix}k\le66\\k\in N\end{matrix}\right.\)