Law of Inverses (Modulo Arithmetic)/Corollary 2

From ProofWiki
Jump to navigation Jump to search

Corollary to Law of Inverses (Modulo Arithmetic)

Let $m, n \in \Z$ such that:

$m \perp n$

that is, such that $m$ and $n$ are coprime.


$\exists n' \in \Z: n n' \equiv 1 \pmod m$


$n' \equiv n^{\map \phi n - 1} \pmod m$

where $\map \phi n$ is the Euler $\phi$ function.


From Law of Inverses (Modulo Arithmetic): Corollary 1:

$\exists n' \in \Z: n n' \equiv 1 \pmod m$

From Euler's Theorem:

$n^{\map \phi m} \equiv 1 \pmod m$

it follows that:

$n \cdot n^{\map \phi m - 1} \equiv 1 \pmod m$

The result follows directly.