Coprimality

Context: FIT1058_MOC · · characterised by · decides which elements have a modular inverse

Quick Revision

  • 🎯 Objective: coprime iff ➔ share no factor but 1.
  • 📦 Core Components: not primality ➔ Bézout ➔ tested by Euclidean Algorithm.
  • ⚡ Key Constraint: invertible in iff ; coprimality is pairwise, not transitive.

📝 Core

1. The Relation

  • Definition ➔ coprime — no shared factor but 1.
  • Not primality ➔ 21, 25 coprime though neither prime.
  • Prime case prime ⟹ coprime unless .

2. Bézout Characterisation

When It Flips: the payoff theorem — has a Modular Inverse in iff ; the Bézout coefficient is the inverse. Coprimality sidesteps factorisation entirely, so it is far easier than primality.

📊 Exam Execution Trace

Manual Execution Trace

:

Step / StatePairReduce
0 (Init)
1
2
3gcd → coprime

⚠️ Common Mistakes

  • 💡 Coprime ≠ prime ➔ 21, 25 are coprime with neither prime; the Bézout coefficient is the modular inverse ().

🧠 Active Recall