The invariant property is that the set of common divisors of two numbers and is identical to the set of common divisors of and (or and ). This ensures that the greatest common divisor (gcd) remains unchanged throughout the algorithm's steps.
Conditions: and are integers.; The operation is either subtraction () or modulo ().
The invariant property is that the set of common divisors of two numbers and is identical to the set of common divisors of and (or and ). This ensures that the greatest common divisor (gcd) remains unchanged throughout the algorithm's steps.
Conditions: and are integers.; The operation is either subtraction () or modulo ().