Extended Euclidean algorithm

Home > Mathematics > Number theory > Relative primes (coprimes) > Extended Euclidean algorithm

A variation of Euclid's algorithm that finds the GCD of two integers and also determines the coefficients of Bezout's identity.