Recall that the order of \(a \pmod{m}\) is the smallest positive integer \(h\) such that
We also showed here that if \(a\) has order \(h\) modulo \(m\), and \(a^r \equiv 1 \pmod{m}\), then \(h \mid r\). Next we have the following theorem
Proof 1
Let \(a\) be an element of order \(h\) modulo \(m\). Consider \(a^k\). The order of \(a^k\) is the smallest integer \(j\) such that
But since \(a\) has order \(h\). Then we know that we must have \(h \mid kj\) (Proof Here). Now,
Clearly \(\gcd(\frac{h}{\gcd(h,k)},\frac{k}{\gcd(h,k)}) = 1\). Therefore, we must have that
Furthermore, observe that
But \(j\) is the smallest integer such that \((a^k)^j \equiv 1 \pmod{m}\). Then we must also have that
Therefore,
Proof 2 (class/Andrews)
Let \(h\) be the order of \(a\) and let \(j\) be the order of \(a^k\). Let
We will show that \(j = h'\) by showing that \(j \mid h'\) and that \(h' \mid j\).
\(j \mid h'\): Observe that since \(a\) has order \(h\), then
But by this fact, this means that \(j \mid h'\).
\(h' \mid j\): Since the order of \(a^k\) is \(j\), then
But we know that \(a\) has order \(h\) so this implies that \(h \mid kj\). This means that
If we divide by \(\gcd(h,k)\), then
Note that \(\gcd(h',k') = 1\). Thus, \(h'\) must divide \(j\) as we wanted to show. Therefore, \(a^k\) has order \(j = h' = \frac{h}{\gcd{h,k}}\) as desired. \(\ \blacksquare\)
References
- The Theory of Numbers
- Number Theory by George E. Andrews