Wilson's theorem

Home > Mathematics > Number theory > Modular arithmetic > Wilson's theorem

Wilson's theorem states that if p is a prime number, then (p-1)! ≡ -1 (mod p).