Proof of the number of invertible residues modulo n
Builds on Integers modulo nResidue classUnit of a ringCongruence modulo nModular multiplicative inverseExistence of inverses modulo nEuler's totient functionCoprime integers
Proof
- Let be a positive integer. For an integer , write for its residue class modulo . Then if and only if .
- The classes are distinct. Indeed, two different integers in differ by a number between and , which does not divide.
- Since , we have . So by the definition of integers modulo n, .
- Let be an integer. The class is a unit if there is an integer with . The ring is commutative, so one side suffices.
- Since , step 1 shows that if and only if .
- So is invertible if and only if has a modular multiplicative inverse modulo .
- By the existence of inverses modulo n, this holds if and only if and are coprime.
- By steps 3 and 7, the invertible elements are the classes with and coprime to . By step 2, these classes are distinct.
- By the definition of Euler's totient function, there are such integers . Hence has exactly invertible elements.
Idea
Each class modulo has exactly one representative among . A class is invertible exactly when its representative is coprime to , so counting the invertible classes is counting the integers that counts.
Reading path
To understand this page from the ground up, read these 37 pages in order. The foundations come first. The path takes the proofs Proof of Bézout's identity, Proof of the commutativity of addition by induction, Proof of strong induction from ordinary induction, Proof that congruence is compatible with addition, Proof that congruence is compatible with multiplication, Proof of the well-ordering principle from strong induction, Proof of the division algorithm, Proof of the existence of inverses modulo n.
Show the path as a graph
- no evidence level
- Definition by recursion concept
- Divisibility definition
- Group concept
- Mathematical induction concept
- Natural numbers object
- Peano axioms concept
- Congruence modulo n definition
- Greatest common divisor definition
- Ring definition
- Successor function definition
- Modular multiplicative inverse definition
- Residue class definition
- Proof that congruence is compatible with addition proof
- Proof that congruence is compatible with multiplication proof
- Coprime integers definition
- Unit of a ring definition
- Addition of natural numbers definition
- The successor function is injective statement
- Zero is not a successor statement
- Congruence is compatible with addition statement
- Congruence is compatible with multiplication statement
- Euler's totient function definition
- Proof of the commutativity of addition by induction proof
- Order on the natural numbers definition
- Integers modulo n definition
- Commutativity of addition statement
- Proof of strong induction from ordinary induction proof
- Strong induction statement
- Proof of the well-ordering principle from strong induction proof
- Well-ordering principle statement
- Proof of the division algorithm proof
- Division algorithm statement
- Proof of Bézout's identity proof
- Bézout's identity statement
- Proof of the existence of inverses modulo n proof
- Existence of inverses modulo n statement
- Proof of the number of invertible residues modulo n proof
Where this leads
1 page builds on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Modular_multiplicative_inverse, Integers modulo m
About this page
| Tag | X5KJ580184 |
|---|---|
| URI | m2://X5KJ580184 |
| Kind | proof |
| Writing | W0 stub |
| MSC | 11A07 |
| Proves | Number of invertible residues modulo n |
| Uses | Integers modulo n, Residue class, Unit of a ring, Congruence modulo n, Modular multiplicative inverse, Existence of inverses modulo n, Euler's totient function, Coprime integers |
| Methods | Direct proof |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.