Wilson's Theorem : Number Theory #Wilson's #Theorem #: #Number #Theory
Wilson’s Theorem : Statement : If p is a prime then (p-1)! + 1 = 0 ( mod p ) Proof : Suppose p is a prime number.. For p=2, we have (p-1)! + 1 = 2 and 2 ≡ 0 ( mod 2 ) i.e. the statement is true for p=2. Let p > 2 and a 𝟄 Z such that 1 ≤ a ≤ p-1. Since p is prime , we have (a,p) = 1 and hence the linear congruence ax ≡ 1 ( mod p) has unique solution, say x 0 . Let a’ 𝟄 x 0 — and 1 ≤ a’ ≤ p-1 where x 0 — is the congruence class of x 0 . Clearly aa’ ≡ 1 ( mod p ) a’ = a ð a 2 ≡ 1 ( mod p ) ð p / a 2 -1 ð p/(a-1) or p/ (a+1) for p/(a-1) and a > 0 => a+1 = p ð a = p-1 ∴ a’ = a ð either a = 1 or a= p-1 similarly if a’ ≠ a then a 𝟄 { 2,3,…,p-2}. ∴ the distinct a , a’ belong to the set { 2,3,…,p-2} containing (p-3) elements. Th...