Bezout identity gives integers with whenever , so . If are inverses, multiplying by an inverse gives . Multiplying Bezout identities for and shows that .
Wilson theorem states that for prime . Pair the nonzero residues with their unique multiplicative inverses. The only self-inverse residues are , whose product is , proving the theorem.
Counting one factor of for every multiple of , another for every multiple of , and so on proves Legendre formula
Now , so . Also , while , so .
Finally,
For , , so the second factor is a -adic unit. If , then

Articles by others on the same topic (0)

There are currently no matching articles.