Jump to content

Wilson's theorem

From Simple English Wikipedia, the free encyclopedia
Revision as of 09:25, 21 February 2022 by imported>MathXplore (−Category:Mathematical theorems; ±Category:Number theoryCategory:Theorems in number theory using HotCat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Wilson's theorem is a theorem of number theory. Let n be any natural number. Wilson's theorem says that n is a prime number if and only if:

<math>(n-1)!\ \equiv\ -1 \pmod n</math>

This means that if n is a prime number, the equation is correct. Also, if the equation is correct, then n is a prime number. The equation says that the factorial of (n - 1) is one less than a multiple of n.