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