MATH3250 · Theorem · Chapter 4 · Integer algorithms
Extended Euclid returns a certificate
1 steps of prerequisites below it
The extended Euclidean algorithm on a ≥ b > 0 keeps r_i = au_i + bv_i and the common divisors of the remainder pair, and stops after O(1 + log b) divisions with gcd(a,b) = au₀ + bv₀.
Taught in
Uses
- Loop invariant · used in its proof, proof step 4.1
Used by
History of the idea
Everything this builds on, earliest first · 1 steps
Each step comes after its own prerequisites, so reading in this order never needs something you have not met. It is a reading order for these notes, not a diagnosis of what you know.
- Loop invariant · 4.1
Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.
Longest chain down to a starting point
Each step is used by the one above it, across courses where the notes link them. It ends at a point the notes define without another point.