Wilson's theorem

Home > Mathematics > Number theory > Greatest common divisor (GCD) > Wilson's theorem

Wilson's theorem is a number theory theorem that states that a number p is prime if and only if (p-1)! + 1 is divisible by p.