Exercise · ZW-UNIT-OF-A-RING-009 · ★★★ Advanced

For which of these values of \(n\) is every nonzero element of \(\mathbb{Z}_n\) a unit?

Choose one option.

Show answer
  • D. 13

Explanation

A nonzero element \(a\) is a unit if \(\gcd(a,n)=1\); for this to hold for every \(a\) between \(1\) and \(n-1\), \(n\) must be prime. Of the given values only \(13\) is; in \(8,9,12\) there are elements such as \(2\), \(3\) and \(6\) sharing a factor with \(n\).

Study Modern algebra I in ZWMath →

Review the concept: Unit of a ring

A unit of a ring \(R\) with identity \(1\) is an element \(u\) that has a multiplicative inverse \(v\) within \(R\).

\[uv=vu=1\]

More practice problems: unit of a ring

← ZW-UNIT-OF-A-RING-008 ZW-UNIT-OF-A-RING-010 →