An elegant result in number theory - English mathematician John Wilson stated this theorem:
A positive integer p > 1 is prime if and only if
(p − 1)! ≡ −1 (mod p).
The proof of Wilson's theorem can be found here, which also shows how Wilson's theorem can be applied to prove Fermat's little theorem, together with some neat examples.