You can
put this solution on YOUR website!division

:
..........................x^2 - x + 1
.........---------------------
(x+1)|x^3 + 0x^2 + 0x - 1
...........x^3 + x^2
...........----------
......................-x^2 + 0x
......................-x^2 - x
......................-----------
................................+x - 1
................................+x + 1
................................--------
.......................................-2
:

= x^2 - x + 1; remainder