\(x^7+x^5+x^3+1=x^7-x^5+2x^5-2x^3+3x^3-3x+3x+1\)
\(=x^5\left(x^2-1\right)+2x^3\left(x^2-1\right)+3x\left(x^2-1\right)+3x+1\)
\(=\left(x^5+2x^3+3x\right)\left(x^2-1\right)+3x+1\)
Vì bậc của đa thức \(3x+1\) là 1 nhỏ hơn bậc của \(x^2-1\) là 2 nên \(3x+1\) là phần dư