\(n\left(n^2+1\right)\left(n^2+4\right)=n\left(n^2+1\right)\left(n^2-1\right)+5n\left(n^2+1\right)\)
\(=n\left(n^2-1\right)\left(n^2-4\right)+5n\left(n^2-1\right)+5n\left(n^2+1\right)\)
\(=\left(n-2\right)\left(n-1\right)n\left(n+1\right)\left(n+2\right)+5n\left(n^2-1\right)+5n\left(n^2+1\right)\) chia hết cho 5