A part of Aluffi's "Algebra: Chapter 0" exercise II.4.12 suggests computing the order of $[9]_{31}$ in $(\mathbb{Z}/31\mathbb{Z})^*$. Sure, I could just multiply $9$ a few times until I get $1$ as a remainder (and thus derive that the order in question is 15), but is there a better way?
A few thoughts of mine:
- Firstly, $[9] = [3]^2$, so it'd be sufficient to prove that $[3]$ is a generator (and indeed it is). But I was unable to do this efficiently.
- Another attack direction is that, since $31$ is prime, one might note that $(\mathbb{Z}/31\mathbb{Z})^*$ is cyclic and, having $30$ elements, is isomorphic to $\mathbb{Z}/30\mathbb{Z}$. Maybe we could derive something meaningful by inspecting some isomorphism $\varphi$ between the two? I tried deriving what should it do to the elements of $(\mathbb{Z}/31\mathbb{Z})^*$, and I was able to figure out how it behaves on the powers of $[2]$, but it didn't bring me closer to understanding what it does to $[3]$ or $[9]$.
So shall I just accept my fate and consider this to be an exercise in multiplication and division with remainder?