Division of polynomials by binomials