PolynomialReduce¶
Reduces a polynomial modulo a list of polynomials in a single variable.
PolynomialReduce[poly, {p1, p2, ...}, x] returns {{a1, a2, ...}, b} with
a1 p1 + a2 p2 + ... + b == poly and b the minimal remainder.
When no divisor can reduce the polynomial, it is returned as the remainder: