Euclidean algorithm yields gcd and Bézout identity
In a Euclidean domain, the Euclidean algorithm computes a gcd and expresses it as a linear combination.
Euclidean algorithm yields gcd and Bézout identity: Let be a Euclidean domain and let be not both zero. The Euclidean algorithm produces and such that and . Equivalently, as ideals.
Remarks
In a Euclidean domain, the algorithm computes a gcd and simultaneously shows that the ideal generated by and is a principal ideal. This is the core input for Euclidean implies PID.