Greatest common divisor

gcd method