Apply the division algorithm for polynomials to find the quotient and remainder when (x^4)-(2x^3)+(x^2)-x+1 is divided by (2x^2)+x+1 in Z7.
The Attempt at a Solution
I worked the problem and got that the quotient was (4x^2)-3x-1 and the remainder was 4x+2. Are these right? If not then some help would be appreciated.