What's the best and most simple way to calculate unit roots of $GF(n)$.
$n$ could be any integer.
Please make a distinction between primes and non-primes.
Example:
- Show that $GF(29)$ has 7th units roots.
- How much 7th unit roots does $GF(29)$ have?
What's the best and most simple way to calculate unit roots of $GF(n)$.
$n$ could be any integer.
Please make a distinction between primes and non-primes.
Example:
On
You can always do the following.
This suggest an algorithm for finding a seventh root of unity:
The method generalizes to the problem of finding $d$th root of unity in the field $GF(q)$, where $d\mid q-1$. If $d$ is not a prime, you need those extra tests.
Here is the clue: whether the order of the field is prime or not makes no difference. It just depends on $n-1$, the order of the multiplicative group (which is cyclic). So you can think of this group being generated by some element $\alpha$, for which $\alpha^{n-1} = 1$. Now try to use this to determine what other types of roots there might be.