Learn/Number Theory/Coprimality
Number Theory • Topic 13

Coprimality

Two integers are coprime (or relatively prime) if they share no common factors other than 1. This concept is central to modular arithmetic and the Chinese Remainder Theorem.

Definition

Definition (Coprime)
Integers and are coprime if .

Properties

  1. Modular Inverse: has an inverse modulo if and only if .
  2. Multiplicativity: If and , then .
  3. Euclid's Lemma: If and , then .
  4. Division: If and , then .

Pairwise vs. Mutual Coprimality

For a set of integers :
  • Pairwise Coprime: for all .
  • Mutually Coprime: .
Note:* Pairwise implies Mutual, but Mutual does not imply Pairwise (e.g., 6, 10, 15).

Practice Problems

Exercise (Problem 1)
Prove that any two consecutive Fibonacci numbers are coprime.
Exercise (Problem 2)
Prove that ? (Check exact form, usually ).
Exercise (Problem 3)
If , find .