Are Relatively Prime Elements Generators of Cyclic Groups?

halvizo1031
Messages
77
Reaction score
0

Homework Statement


Zn={0,1,...,n-1}. show that an element k is a generator of Zn if and only if k and n are relatively prime.


Homework Equations





The Attempt at a Solution


it makes sense but I am having a hard time proving this.
 
Physics news on Phys.org
So you need to do two parts:
1) If k and n are relatively prime, k generates Zn. What do you need to prove to show this?

2) If k generates Zn, then k and n are relatively coprime. This part is probably easier done by proof by contradiction
 
Office_Shredder said:
So you need to do two parts:
1) If k and n are relatively prime, k generates Zn. What do you need to prove to show this?

2) If k generates Zn, then k and n are relatively coprime. This part is probably easier done by proof by contradiction

well i understand i need to show both ways but to be honest, this is all i have:
==>if m is in {0,1,...,n-1} is a generator, its order is n. Also, its order must be n/(m,n). Thus, n=n/(m,n) which implies (m,n)=1.
<== if (m,n)=1 then the order of m is n/(m,n)=n/1=n.
therefore, m is a generator of Zn.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top