PolynomialQuotientRemainder[x^2017,( -x^3-2x^2 +3x-8),x]