Gapplet

Given polynomials f, g Q[X], determine quotient and remainder of division of f by g.

Input f,  e.g., X^7-2/3*X-3
Input g  e.g., X^6-X+2
 
Quotient and remainder