Following on from my own example question in one of my previous posts I now want to better understand how to find the order of an element in a cyclic group G.
So in my previous example we had the group $G = \mathbb{Z}_{59}^{\times}$
I want to work out the order of 11 in group G. How would one compute and calculate this?
So far, I assume that you do 11^1 mod 59, 11^2 mod 59, 11^3 mod 59,..., 11^n mod 59 = 0?
Would be amazing to see how this would be computed and what other capabilities cyclic groups have
If you just want to compute the order of $11\pmod {59}$:
Note that $58=2\times 29$ so the possible orders are $1,2,29,58$. Easy to see that $11^2\equiv 3 \pmod {59}$ so we just need to consider $11^{29}$.
To do that we remark that $$11^2\equiv 3\implies 11^4\equiv 9\implies 11^8\equiv 22$$
(all congruences $\pmod {59}$ of course).
Continuing we have $$11^{16}\equiv 22^2\equiv 12$$
And now we get $$11^{24}\equiv 11^{16}\times 11^8\equiv 12\times 22\equiv 28$$
And then $$11^{29}\equiv 11\times 11^4\times 11^{24}\equiv 11\times 9\times 28\equiv 58\equiv -1$$
Thus we have eliminated all the possible orders except $58$ so the order of $11\pmod {59}$ is $58$.
Note: there's nothing unique about the preceding calculations. This path looked short to me, but there might well be others as good or better.