Exercise · ZW-WILSON-S-THEOREM-002 · ★★☆ Intermediate
What is the remainder of \(4!\) when divided by \(5\)?
Choose one option.
Show answer
- A. \(4\)
Exercise · ZW-WILSON-S-THEOREM-002 · ★★☆ Intermediate
Choose one option.
\(4! = 24 = 5\cdot 4 + 4\), so the remainder is \(4\), which is equivalent to \(-1\) modulo \(5\).
For a prime number \(p\), \((p-1)!\) leaves remainder \(-1\) when divided by \(p\).