The gcd command computes the gcd (greatest common divisor) of polynomials. (See also 5.5.1 for GCD of integers.)