Euclid’s division lemmaMinor theorem used in the proof of a larger theorem. is a fundamental principle in number theory that describes the division of two positive integers. For example, if we consider the expression \(\frac{29}{7}\) it is clear that \(4<\frac{29}{7}<5\), so the quotient is 4 and the remainder is 1, which can be restated as \(\frac{29}{7}=4*7+1\).
More formally, Euclid’s division lemma states that for any two positive integers \(a\) and \(b\), there exist unique integers \(q\) and \(r\) satisfying \(a = bq + r\), where \(0 ≤ r < b\).[1]
Repeated application of the lemma is one way to calculate the greatest common divisorLargest positive integer that divides each of the integers in a set without leaving a remainder. (gcd) of two integers, a process known as the Euclidian division algorithm, as in the following example to find the gcd of 207 and 60:
\(207=3*(60)+(27)\)
\(60=2*(27)+(6)\)
\(27=4*(6)+(3)\)
\(6=2*(3)+0\)
So 3 is the greatest common divisor of 207 and 60.

