Combinatorics
Wilson's Theorem states that a natural number $p$ greater than 1 is a prime if and only if $$(p-1)! \equiv -1 \mod p$$. This theorem connects the concept of primality with factorials and modular arithmetic, illustrating a unique property of prime numbers. The theorem provides a fascinating link between combinatorial structures, like Latin squares and orthogonal arrays, and number theory.
congrats on reading the definition of Wilson's Theorem. now let's actually learn it.