Exercise · ZW-WILSON-S-THEOREM-005 · ★☆☆ Basic

What does \((p-1)! \equiv -1 \pmod{p}\) mean?

Choose one option.

Show answer
  • B. Dividing \((p-1)!\) by \(p\) leaves remainder \(p-1\)

Explanation

The congruence means the remainder of \((p-1)!\) divided by \(p\) is \(p-1\), which is the same as \(-1\) modulo \(p\).

Study Elementary number theory in ZWMath →

Review the concept: Wilson's theorem

For a prime number \(p\), \((p-1)!\) leaves remainder \(-1\) when divided by \(p\).

\[(p-1)!\equiv -1 \pmod{p}\]

More practice problems: wilson's theorem

← ZW-WILSON-S-THEOREM-004 ZW-WILSON-S-THEOREM-006 →