Unit of a ring · Exercise-UNIT-OF-A-RING-009

Step-by-step solved exercise: Rings and domains

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

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Every \(\displaystyle a\neq0\) is a unit exactly when \(\displaystyle \mathrm{mcd}(a,n)=1\) for each \(\displaystyle a\) between \(\displaystyle 1\) and \(\displaystyle n-1\).

    \[\displaystyle \mathrm{mcd}(a,n)=1 \ \forall a\in\{1,\dots,n-1\}\]
  2. If \(\displaystyle n\) has a divisor \(\displaystyle d\) with \(\displaystyle 1

    \[\displaystyle 1
  3. For \(\displaystyle 8\), \(\displaystyle 9\) and \(\displaystyle 12\), the elements \(\displaystyle 2\), \(\displaystyle 3\) and \(\displaystyle 2\) share a factor, so they fail.

    \[\displaystyle \mathrm{mcd}(2,8)=\mathrm{mcd}(3,9)=\mathrm{mcd}(2,12)>1\]
  4. Since \(\displaystyle 13\) is prime, every \(\displaystyle a\) between \(\displaystyle 1\) and \(\displaystyle 12\) is coprime to \(\displaystyle 13\).

    \[\displaystyle \mathrm{mcd}(a,13)=1\]

Answer

13

🎯 Build my path to this exercise