Prove that the generators of $mathbbZ_n$ are the integers $r$ such that $0leq r <n$ and $gcd(r,n)=1$. [duplicate]

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
This question already has an answer here:
How to find a generator of a cyclic group?
8 answers
Can someone tell me whether my solution is okay? I based it off a proof for a more general theorem about cyclic groups and generators.
Prove that the generators of $mathbbZ_n$ are the integers $r$ such that $0leq r <n$ and $gcd(r,n)=1$.
Let $mathbbZ_n=langle 1 rangle$. Since $0leq r <n$, $langle rrangle subset langle 1 rangle$. Then let $mathbbZ_n=langle r rangle$ and assume that $d=gcd(r,n)>1$. Then there exist integers $t$ and $s$ such that $r=td$ and $n=sd$. Then $rs=tds=tn=1$ (since $|mathbbZ_n|=|langle 1 rangle|=n$). Then $|langle rrangle|leq s<n$. This forms a contradiction (if $|mathbbZ_n|=n$ and $mathbbZ_n=langle r rangle$ with $|langle rrangle|<n$, then $|mathbbZ_n|neq n$) by assuming that $gcd(r,n)>1$.
group-theory proof-verification modular-arithmetic cyclic-groups
marked as duplicate by Jyrki Lahtonen
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Aug 17 at 6:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
0
down vote
favorite
This question already has an answer here:
How to find a generator of a cyclic group?
8 answers
Can someone tell me whether my solution is okay? I based it off a proof for a more general theorem about cyclic groups and generators.
Prove that the generators of $mathbbZ_n$ are the integers $r$ such that $0leq r <n$ and $gcd(r,n)=1$.
Let $mathbbZ_n=langle 1 rangle$. Since $0leq r <n$, $langle rrangle subset langle 1 rangle$. Then let $mathbbZ_n=langle r rangle$ and assume that $d=gcd(r,n)>1$. Then there exist integers $t$ and $s$ such that $r=td$ and $n=sd$. Then $rs=tds=tn=1$ (since $|mathbbZ_n|=|langle 1 rangle|=n$). Then $|langle rrangle|leq s<n$. This forms a contradiction (if $|mathbbZ_n|=n$ and $mathbbZ_n=langle r rangle$ with $|langle rrangle|<n$, then $|mathbbZ_n|neq n$) by assuming that $gcd(r,n)>1$.
group-theory proof-verification modular-arithmetic cyclic-groups
marked as duplicate by Jyrki Lahtonen
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Aug 17 at 6:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
And a more recent version.
â Jyrki Lahtonen
Aug 17 at 6:43
And another.
â Jyrki Lahtonen
Aug 17 at 6:46
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This question already has an answer here:
How to find a generator of a cyclic group?
8 answers
Can someone tell me whether my solution is okay? I based it off a proof for a more general theorem about cyclic groups and generators.
Prove that the generators of $mathbbZ_n$ are the integers $r$ such that $0leq r <n$ and $gcd(r,n)=1$.
Let $mathbbZ_n=langle 1 rangle$. Since $0leq r <n$, $langle rrangle subset langle 1 rangle$. Then let $mathbbZ_n=langle r rangle$ and assume that $d=gcd(r,n)>1$. Then there exist integers $t$ and $s$ such that $r=td$ and $n=sd$. Then $rs=tds=tn=1$ (since $|mathbbZ_n|=|langle 1 rangle|=n$). Then $|langle rrangle|leq s<n$. This forms a contradiction (if $|mathbbZ_n|=n$ and $mathbbZ_n=langle r rangle$ with $|langle rrangle|<n$, then $|mathbbZ_n|neq n$) by assuming that $gcd(r,n)>1$.
group-theory proof-verification modular-arithmetic cyclic-groups
This question already has an answer here:
How to find a generator of a cyclic group?
8 answers
Can someone tell me whether my solution is okay? I based it off a proof for a more general theorem about cyclic groups and generators.
Prove that the generators of $mathbbZ_n$ are the integers $r$ such that $0leq r <n$ and $gcd(r,n)=1$.
Let $mathbbZ_n=langle 1 rangle$. Since $0leq r <n$, $langle rrangle subset langle 1 rangle$. Then let $mathbbZ_n=langle r rangle$ and assume that $d=gcd(r,n)>1$. Then there exist integers $t$ and $s$ such that $r=td$ and $n=sd$. Then $rs=tds=tn=1$ (since $|mathbbZ_n|=|langle 1 rangle|=n$). Then $|langle rrangle|leq s<n$. This forms a contradiction (if $|mathbbZ_n|=n$ and $mathbbZ_n=langle r rangle$ with $|langle rrangle|<n$, then $|mathbbZ_n|neq n$) by assuming that $gcd(r,n)>1$.
This question already has an answer here:
How to find a generator of a cyclic group?
8 answers
group-theory proof-verification modular-arithmetic cyclic-groups
edited Aug 17 at 0:13
Michael Hardy
205k23187463
205k23187463
asked Aug 16 at 23:08
numericalorange
1,271110
1,271110
marked as duplicate by Jyrki Lahtonen
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Aug 17 at 6:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Jyrki Lahtonen
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Aug 17 at 6:42
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
And a more recent version.
â Jyrki Lahtonen
Aug 17 at 6:43
And another.
â Jyrki Lahtonen
Aug 17 at 6:46
add a comment |Â
And a more recent version.
â Jyrki Lahtonen
Aug 17 at 6:43
And another.
â Jyrki Lahtonen
Aug 17 at 6:46
And a more recent version.
â Jyrki Lahtonen
Aug 17 at 6:43
And a more recent version.
â Jyrki Lahtonen
Aug 17 at 6:43
And another.
â Jyrki Lahtonen
Aug 17 at 6:46
And another.
â Jyrki Lahtonen
Aug 17 at 6:46
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
There are several issues. For instance, you can't say âÂÂLet $mathbbZ=langle1rangle$âÂÂ, because an assertion of the type âÂÂLet $A=cdots$â should be a definition of $A$ and you are clearly not defining $mathbbZ_n$.
Your idea of proving that if $gcd(r,n)>1$, then $langle rrangleneqmathbbZ_n$ is correct. What you proved was that $bigllvertlangle rranglebigrrvert<n=lvertmathbbZ_nrvert$. But this is only half of what you were supposed to have proved. Indeed, it remains to be proved that if $gcd(r,n)=1$, then $langle rrangle=mathbbZ_n$. This can be done noting that, if $0<k,k'leqslant n$ and $kneq k'$, then $krneq k'r$ in $mathbbZ_n$; which means that $nnmid kr-k'r$. But that's easy: if $nmid(k-k')r$ then, since $gcd(r,n)=1$, then $nmid k-k'$, which is impossible, since$$k-k'inbiglpm1,pm2,ldotspm(n-1)bigrsetminus0.$$This proves that $bigllvertlangle rranglebigrrvert=n=lvertmathbbZ_nrvert$ and that therefore $langle rrangle=mathbbZ_n$.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
There are several issues. For instance, you can't say âÂÂLet $mathbbZ=langle1rangle$âÂÂ, because an assertion of the type âÂÂLet $A=cdots$â should be a definition of $A$ and you are clearly not defining $mathbbZ_n$.
Your idea of proving that if $gcd(r,n)>1$, then $langle rrangleneqmathbbZ_n$ is correct. What you proved was that $bigllvertlangle rranglebigrrvert<n=lvertmathbbZ_nrvert$. But this is only half of what you were supposed to have proved. Indeed, it remains to be proved that if $gcd(r,n)=1$, then $langle rrangle=mathbbZ_n$. This can be done noting that, if $0<k,k'leqslant n$ and $kneq k'$, then $krneq k'r$ in $mathbbZ_n$; which means that $nnmid kr-k'r$. But that's easy: if $nmid(k-k')r$ then, since $gcd(r,n)=1$, then $nmid k-k'$, which is impossible, since$$k-k'inbiglpm1,pm2,ldotspm(n-1)bigrsetminus0.$$This proves that $bigllvertlangle rranglebigrrvert=n=lvertmathbbZ_nrvert$ and that therefore $langle rrangle=mathbbZ_n$.
add a comment |Â
up vote
1
down vote
accepted
There are several issues. For instance, you can't say âÂÂLet $mathbbZ=langle1rangle$âÂÂ, because an assertion of the type âÂÂLet $A=cdots$â should be a definition of $A$ and you are clearly not defining $mathbbZ_n$.
Your idea of proving that if $gcd(r,n)>1$, then $langle rrangleneqmathbbZ_n$ is correct. What you proved was that $bigllvertlangle rranglebigrrvert<n=lvertmathbbZ_nrvert$. But this is only half of what you were supposed to have proved. Indeed, it remains to be proved that if $gcd(r,n)=1$, then $langle rrangle=mathbbZ_n$. This can be done noting that, if $0<k,k'leqslant n$ and $kneq k'$, then $krneq k'r$ in $mathbbZ_n$; which means that $nnmid kr-k'r$. But that's easy: if $nmid(k-k')r$ then, since $gcd(r,n)=1$, then $nmid k-k'$, which is impossible, since$$k-k'inbiglpm1,pm2,ldotspm(n-1)bigrsetminus0.$$This proves that $bigllvertlangle rranglebigrrvert=n=lvertmathbbZ_nrvert$ and that therefore $langle rrangle=mathbbZ_n$.
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
There are several issues. For instance, you can't say âÂÂLet $mathbbZ=langle1rangle$âÂÂ, because an assertion of the type âÂÂLet $A=cdots$â should be a definition of $A$ and you are clearly not defining $mathbbZ_n$.
Your idea of proving that if $gcd(r,n)>1$, then $langle rrangleneqmathbbZ_n$ is correct. What you proved was that $bigllvertlangle rranglebigrrvert<n=lvertmathbbZ_nrvert$. But this is only half of what you were supposed to have proved. Indeed, it remains to be proved that if $gcd(r,n)=1$, then $langle rrangle=mathbbZ_n$. This can be done noting that, if $0<k,k'leqslant n$ and $kneq k'$, then $krneq k'r$ in $mathbbZ_n$; which means that $nnmid kr-k'r$. But that's easy: if $nmid(k-k')r$ then, since $gcd(r,n)=1$, then $nmid k-k'$, which is impossible, since$$k-k'inbiglpm1,pm2,ldotspm(n-1)bigrsetminus0.$$This proves that $bigllvertlangle rranglebigrrvert=n=lvertmathbbZ_nrvert$ and that therefore $langle rrangle=mathbbZ_n$.
There are several issues. For instance, you can't say âÂÂLet $mathbbZ=langle1rangle$âÂÂ, because an assertion of the type âÂÂLet $A=cdots$â should be a definition of $A$ and you are clearly not defining $mathbbZ_n$.
Your idea of proving that if $gcd(r,n)>1$, then $langle rrangleneqmathbbZ_n$ is correct. What you proved was that $bigllvertlangle rranglebigrrvert<n=lvertmathbbZ_nrvert$. But this is only half of what you were supposed to have proved. Indeed, it remains to be proved that if $gcd(r,n)=1$, then $langle rrangle=mathbbZ_n$. This can be done noting that, if $0<k,k'leqslant n$ and $kneq k'$, then $krneq k'r$ in $mathbbZ_n$; which means that $nnmid kr-k'r$. But that's easy: if $nmid(k-k')r$ then, since $gcd(r,n)=1$, then $nmid k-k'$, which is impossible, since$$k-k'inbiglpm1,pm2,ldotspm(n-1)bigrsetminus0.$$This proves that $bigllvertlangle rranglebigrrvert=n=lvertmathbbZ_nrvert$ and that therefore $langle rrangle=mathbbZ_n$.
answered Aug 16 at 23:26
José Carlos Santos
117k1699179
117k1699179
add a comment |Â
add a comment |Â
And a more recent version.
â Jyrki Lahtonen
Aug 17 at 6:43
And another.
â Jyrki Lahtonen
Aug 17 at 6:46