Exercise · ZW-WILSON-S-THEOREM-007 · ★★☆ Intermediate

Modulo \(7\), which elements of \(\{1,2,\dots,6\}\) are their own inverses?

Choose one option.

Show answer
  • D. \(1\) and \(6\)

Explanation

An element is its own inverse if \(x^2 \equiv 1 \pmod{7}\); this holds for \(x=1\) and \(x=6\), since \(6^2 = 36 = 5\cdot 7 + 1\).

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-006 ZW-WILSON-S-THEOREM-008 →