Euclidean algorithm
The Euclidean algorithm computes the greatest common divisor of two integers by repeatedly replacing them with a smaller pair that has the same divisor.
Linked from 31 pages
Euclid's ElementsBroader topic: Book VII presents the method as part of its arithmetic theory.
IntegerRelated: It reduces integer divisibility questions to a sequence of smaller remainders.
DivisibilityRelated: It reduces common-divisor calculations to a sequence of divisibility checks.
RecursionBroader topic: Its recursive form replaces a pair of integers with a smaller pair.