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
Exercise · ZW-UNIT-OF-A-RING-009 · ★★★ Advanced
Choose one option.
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\).
A unit of a ring \(R\) with identity \(1\) is an element \(u\) that has a multiplicative inverse \(v\) within \(R\).