Exercise · ZW-WILSON-S-THEOREM-006 · ★★☆ Intermediate
If \(n>1\) satisfies \((n-1)!\equiv -1 \pmod{n}\), what can you conclude about \(n\)?
Choose one option.
Show answer
- A. \(n\) is prime
Exercise · ZW-WILSON-S-THEOREM-006 · ★★☆ Intermediate
Choose one option.
The converse also holds: if \(n>1\) satisfies the congruence, \(n\) is prime, because a composite \(n\) has a proper divisor that appears among the factors of \((n-1)!\).
For a prime number \(p\), \((p-1)!\) leaves remainder \(-1\) when divided by \(p\).