Ta có :
\(\frac{n^7+n^2+1}{n^8+n+1}=\frac{n^7-n^4+n^4-n+n^2+n+1}{n^8-n^5+n^5-n^2+n^2+n+1}\)
\(=\frac{n^4\left(n^3-1\right)+n\left(n^3-1\right)+\left(n^2+n+1\right)}{n^5\left(n^3-1\right)+n^2\left(n^3-1\right)+\left(n^2+n+1\right)}\)
\(=\frac{n^4\left(n-1\right)\left(n^2+n+1\right)+n\left(n-1\right)\left(n^2+n+1\right)+\left(n^2+n+1\right)}{n^5\left(n-1\right)\left(n^2+n+1\right)+n^2\left(n-1\right)\left(n^2+n+1\right)+\left(n^2+n+1\right)}\)
\(=\frac{\left(n^2+n+1\right)\left(n^5-n^4+n^2-n+1\right)}{\left(n^2+n+1\right)\left(n^6-n^5+n^3-n+1\right)}\)
\(=\frac{n^5-n^4+n^2-n+1}{n^6-n^5+n^3-n+1}\)
Do phân số \(\frac{n^7+n^2+1}{n^8+n+1}\) còn thu gọi được thành \(\frac{n^5-n^4+n^2-n+1}{n^6-n^5+n^3-n+1}\) nên nó chưa tối giản (đpcm)