First time here? Check out the FAQ!
answered 2012-07-10 03:07:22 +0100
sage: R.<x> = QQ[] sage: f = R('x^3 - x^2 + x -1') sage: f.quo_rem(x-2) (x^2 + x + 3, 5)