For a matrix group, the order of an element a of a group, is the smallest positive integer m such that a^m = e, where e denotes the identity element of the group, and a^m denotes the product of m copies of a. If no such m exists, the order of a is infinite, as described here: Order (group theory) - Wikipedia.
So, I want to find the order of a matrix group element. Any hints for doing this in Mathematica?
The determinant will have to be an nth root of unity. So I’d try powering to multiples of n. Of course this might just be 1, in which case it provides no shortcut. Working with the eigenvalues might be faster than brute-force powering, I’m not sure. By this I mean deducing the orbit length as LCM of the roots of unity of the diagonalized form (with some abuse of notation in that remark).