mod $n$逆元的符号和性质;如何处理?

Interactive · 1 question

Suppose that we have the following congruence, and we want to solve for xx: ax≡b(modn)ax \equiv b \pmod{n} Well, let's think about what we would do if this were just a standard equality and not a congruence: x=ba−1x = ba^{-1} We would typically write this as ba\frac{b}{a}, but the idea is the same. We multiplied by a−1a^{-1} on both sides. Could we do a similar thing for congruence?

Indeed, we can! In general, in a group GG with identity element ee, the inverse of an element ff is the element f−1f^{-1} such that f−1⋅f=f⋅f−1=ef^{-1}\cdot f = f\cdot f^{-1} = e. Thus, in congruence modulo nn, the inverse of a number aa is the number a−1a^{-1} such that: aa−1≡1(modn)aa^{-1} \equiv 1 \pmod{n}

Let's start with a quick example. What is the inverse of 33 modulo 1010?

Read · 1 min

Let pp be a prime, and xx be the inverse of aa, which is not divisible by pp. Find xx in terms of aa and pp.

Hint: Fermat's Little Theorem.

Read · 1 min

This is generalization of the previous one. Let nn be co-prime to aa and xx be the inverse of aa modulo nn. Express xx as a function of terms of aa and nn.

Hint: Euler-Fermat Theorem.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems