PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Low Entry average rating: No information on entry rating
[parent] proof of Wilson's theorem (Proof)

We first show that, if $p$ is a prime, then $(p-1)! \equiv -1 \pmod p.$ Since $p$ is prime, $\mathbb{Z}_p$ is a field and thus, pairing off each element with its inverse in the product $(p-1)! = \prod_{x=1}^{p-1}x,$ we are left with the elements which are their own inverses (i.e. which satisfy the equation $x^2 \equiv 1 \pmod p$ ), $1$ and $-1$ , only. Consequently, $(p-1)! \equiv -1 \pmod p.$

To prove that the condition is necessary, suppose that $(p-1)! \equiv -1 \pmod p$ and that $p$ is not a prime. The case $p=1$ is trivial. Since $p$ is composite, it has a divisor $k$ such that $1 < k < p$ , and we have $(p-1)! \equiv -1 \pmod k$ . However, since $k\leq p-1$ , it divides $(p-1)!$ and thus $(p-1)! \equiv 0 \pmod k,$ a contradiction.




"proof of Wilson's theorem" is owned by Cosmin. [ full author list (2) | owner history (1) ]
(view preamble | get metadata)

View style:


This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: contradiction, divisor, composite, necessary, inverses, product, field, prime

This is version 5 of proof of Wilson's theorem, born on 2002-01-05, modified 2005-10-11.
Object id is 1343, canonical name is ProofOfWilsonsTheorem.
Accessed 10947 times total.

Classification:
AMS MSC11-00 (Number theory :: General reference works )

Pending Errata and Addenda
None.
[ View all 2 ]
Discussion
Style: Expand: Order:
forum policy
looks good by neapol1s on 2005-08-15 23:44:47
the proof looks good to me.
[ reply | up ]

Interact
post | correct | update request | add example | add (any)