Ta có: \(\left\{{}\begin{matrix}f\left(5\right)=125a+25b+5c+2021\\f\left(4\right)=64a+16b+4c+2021\end{matrix}\right.\)
\(f\left(5\right)-f\left(4\right)=2020\) \(\Rightarrow61a+9b+c=2020\)
Ta có: \(\left\{{}\begin{matrix}f\left(7\right)=343a+49b+7b+2021\\f\left(2\right)=8a+4b+2c+2021\end{matrix}\right.\)
\(\Rightarrow f\left(7\right)-f\left(2\right)=335a+45b+5b=5\left(61a+9b+c\right)=5.2020\)
\(\Rightarrow f\left(7\right)-f\left(2\right)\) chia hết cho 5 nên nó là hợp số.