Ta có:
\(\left(n-1\right)\left(n+4\right)-\left(n-4\right)\left(n+1\right)\)
\(=\left(n^2-n+4n-4\right)-\left(n^2-4n+n-4\right)\)
\(=n^2-n+4n-4-n^2+4n-n+4\)
\(=6n⋮6\)
\(\Rightarrow\left(n-1\right)\left(n+4\right)-\left(n-4\right)\left(n+1\right)⋮6\forall n\in Z\)