Find the remainder when the polynomial x1000 is divided by the polynomial (x2+1)(x+1).
Solution — click to reveal
Note that (x2+1)(x+1) is a factor of (x2+1)(x+1)(x−1)=x4−1. Since x1000−1=(x4−1)(x996+x992+x988+⋯+x8+x4+1),the remainder when x1000 is divided by (x2+1)(x+1) is 1.