- #1
rad0786
- 188
- 0
Homework Statement
Let a be a generator of [tex]F_q[/tex]
Prove that [tex]a^i[/tex] is a generator if & only if [tex]i[/tex] and [tex]q-1[/tex] are relatively prime.
Homework Equations
a is a generator of [tex]F_q[/tex] means that a^(q-1) = 1 and [tex]a^i[/tex] cannot be 1 for all i not q-1.
relatively prime means that [tex]gcd(i,q-1)[/tex]=1
fermats theorem says that: a^(p-1) = 1 (mod p ) where p is prime
The Attempt at a Solution
=>
Suppose that [tex]a^i[/tex] is a generator of [tex]F_q[/tex]. then a^(i(q-1)) =1 (mod q)
so by fermats theorem, gcd(i, q-1) = 1?
How does that sound?