The quotient command computes the quotient of A divided by B where A and B can be integers or polynomials. In the polynomial case, the variable X must be specified as the third argument and an optional fourth argument P specifies the modulus.
# integers quotient(25,10); 2 # polynomials quotient(x^2-1,x+1,x); -1+x # polynomials mod p quotient(x^2-1,x+1,x,11); 10+x