Euclidean algorithm - Wikipedia, the free encyclopedia
In mathematics, the Euclidean algorithm [a], or Euclid's algorithm, is a method for computing the greatest common divisor (GCD) of two (usually positive) integers, also known as the greatest common factor (GCF) or ...