Math 2.0

Number theory Theorem

Existence of inverses modulo n

Builds on Modular multiplicative inverseCoprime integersBézout's identity

Statement

Let nn be a positive integer and let aa be an integer. Then aa has a modular multiplicative inverse modulo nn if and only if aa and nn are coprime.

Remarks

If gcd⁡(a,n)=1\gcd(a, n) = 1, Bézout's identity gives integers xx and yy with ax+ny=1a x + n y = 1. Then ax≡1(modn)a x \equiv 1 \pmod n. Conversely, if ax≡1(modn)a x \equiv 1 \pmod n, then ax+ny=1a x + n y = 1 for some integer yy, so each common divisor of aa and nn divides 11. The extended Euclidean algorithm computes the inverse. For example, 44 has no inverse modulo 66, because gcd⁡(4,6)=2\gcd(4, 6) = 2.

Reading path

To understand this page from the ground up, read these 7 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Greatest common divisor definition
  4. Modular multiplicative inverse definition
  5. Bézout's identity statement
  6. Coprime integers definition
  7. Existence of inverses modulo n statement

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Modular_multiplicative_inverse, Integers modulo m
About this page
Tag0M67FWZWPQ
URIm2://0M67FWZWPQ
Kindstatement, theorem
WritingW0 stub
MSC11A07
StatusThis copy of the site has no build data. Run m2 status 0M67FWZWPQ.
UsesModular multiplicative inverse, Coprime integers, Bézout's identity

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

Used by