Exercise 325Number theory › Divisibility and gcdL1Added 31 Oct 2026
The Euclidean algorithm and Bézout
#gcd#bezout
Statement
Compute with the Euclidean algorithm, then find integers with .
Hint
Run the divisions, then substitute backwards from the last non-zero remainder.
Show solutionHide solution
Solution
Algorithm.
The last non-zero remainder is , so .
Bézout. Working backwards,
So and . Check: .