\(\dfrac{G\left(x\right)}{P\left(x\right)}\)
\(=\dfrac{x^6-1+ax^2+bx+3}{x^2-x+1}\)
\(=\left(x-1\right)\left(x+1\right)\left(x^2+x+1\right)+\dfrac{ax^2-ax+a+\left(b+a\right)x+3-a}{x^2-x+1}\)
\(=A+\dfrac{\left(b+a\right)x+3-a}{x^2-x+1}\)
G(x) chia hêt cho P(x)=0
=>3-a=0 và a+b=0
=>a=3 và b=-3