a, \(A=3x^3-2x^2+2\)
\(=3x^3+3x^2-x^2-x+x+1+1\)
\(=3x^2\left(x+1\right)-x\left(x+1\right)+\left(x+1\right)+1\)
\(=\left(3x^2-x+1\right)\left(x+1\right)+1\)
Vậy A : B được 3x^2-x+1 dư 1
b, Để \(A⋮B\Rightarrow1⋮\left(x+1\right)\)
x nguyên => x+1=1 hoặc x+1=(-1)
=>x=0 hoặc x=(-2)
Vậy ....