Extended Euclidean algorithm
The extended Euclidean algorithm computes the greatest common divisor of two integers and integers expressing that divisor as their linear combination.
The extended Euclidean algorithm computes the greatest common divisor of two integers and integers expressing that divisor as their linear combination.