Wilson's theorem


Also found in: Wikipedia.

Wilson's theorem

[′wil·sənz ‚thir·əm]
(mathematics)
The number (n - 1)! + 1 is divisible by n if and only if n is a prime.
References in periodicals archive ?
Unlike the Fermat probabilistic primality test method, the Wilson's theorem is not only necessary but also sufficient for the primality test.
In fact from the Wilson's Theorem we know that for any prime p,
Abstract In this note I prove using an algebraic identity and Wilson's Theorem that if [a.