statement theorem
Existence of inverses modulo n
Statement
Let be a positive integer and let be an integer. Then has a modular multiplicative inverse modulo if and only if and are coprime.
Remarks
If , Bézout's identity gives integers and with . Then . Conversely, if , then for some integer , so each common divisor of and divides . The extended Euclidean algorithm computes the inverse. For example, has no inverse modulo , because .
Explanations
L1 human
You can "divide by " modulo exactly when and have no common factor. Modulo , the numbers have inverses, since , and all end with the digit . The numbers have no inverse modulo .
What this node 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 node is. They do not measure its truth.
What this needs
To read this node, read these 7 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Congruence modulo n definition
- Greatest common divisor definition
- Modular multiplicative inverse definition
- Bézout's identity statement
- Coprime integers definition
- Existence of inverses modulo n statement
What depends on this
1 node uses this node, directly or through other nodes.
- Number of invertible residues modulo n 06RJWZCG95
Sources
- Web https://en.wikipedia.org/wiki/Modular_multiplicative_inverse, Integers modulo m
What links here
Used by
- Number of invertible residues modulo n 06RJWZCG95