Euclidean Algorithm
Definition
An iterative division-based procedure that computes the greatest common divisor (gcd) of two integers by repeatedly replacing the larger number by its remainder on division by the smaller until the remainder is zero; the last nonzero remainder is the gcd.