MATH3250 · Theorem · Chapter 4 · Integer algorithms
All solutions of one linear congruence
2 steps of prerequisites below it
With d = gcd(a,m), the congruence ax ≡ b (mod m) is solvable exactly when d divides b, and then its solutions form one class modulo m/d, that is d classes modulo m.
Taught in
Uses
- Extended Euclid returns a certificate · used in its proof, proof step 4.2
- Congruence · used in its proof, proof step 4.2
The same idea in other courses
- Linear congruence theorem MATH3080
Used by
Counterexamples
Everything this builds on, earliest first · 3 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
- Extended Euclid returns a certificate · 4.1
- Congruence · 4.2
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.