Let $r$ be primitive root mod $p$. When $x$ goes from $1$ to $p-1$, then $r^x$ (mod $p$) goes through all the...
I'm trying to understand this situation. Why do the powers of primitive roots smaller than $p-1$ generate all DISTINCT elements in $mathbb{Z}_p$? I am aware about what Fermat's little theorem states and about the fact that $mathbb{Z}_p$ has $p-1$ elements in it. Just not sure how to prove that those elements are distinct and I'm having a struggle with finding proper texts about this.
abstract-algebra number-theory elementary-number-theory cryptography
add a comment |
I'm trying to understand this situation. Why do the powers of primitive roots smaller than $p-1$ generate all DISTINCT elements in $mathbb{Z}_p$? I am aware about what Fermat's little theorem states and about the fact that $mathbb{Z}_p$ has $p-1$ elements in it. Just not sure how to prove that those elements are distinct and I'm having a struggle with finding proper texts about this.
abstract-algebra number-theory elementary-number-theory cryptography
We define primitive root of $p$ to be a number whose order is $p-1$. Then you should be asking why/how at least one primitive root exists for every prime number..
– rsadhvika
Dec 8 at 8:17
You can try David Burton's Elementary Number Theory.
– Brahadeesh
Dec 8 at 8:25
Thank you, I will definetly check this one.
– R. Jacks
Dec 8 at 8:37
add a comment |
I'm trying to understand this situation. Why do the powers of primitive roots smaller than $p-1$ generate all DISTINCT elements in $mathbb{Z}_p$? I am aware about what Fermat's little theorem states and about the fact that $mathbb{Z}_p$ has $p-1$ elements in it. Just not sure how to prove that those elements are distinct and I'm having a struggle with finding proper texts about this.
abstract-algebra number-theory elementary-number-theory cryptography
I'm trying to understand this situation. Why do the powers of primitive roots smaller than $p-1$ generate all DISTINCT elements in $mathbb{Z}_p$? I am aware about what Fermat's little theorem states and about the fact that $mathbb{Z}_p$ has $p-1$ elements in it. Just not sure how to prove that those elements are distinct and I'm having a struggle with finding proper texts about this.
abstract-algebra number-theory elementary-number-theory cryptography
abstract-algebra number-theory elementary-number-theory cryptography
edited Dec 8 at 8:25
Brahadeesh
6,11742360
6,11742360
asked Dec 8 at 8:10
R. Jacks
112
112
We define primitive root of $p$ to be a number whose order is $p-1$. Then you should be asking why/how at least one primitive root exists for every prime number..
– rsadhvika
Dec 8 at 8:17
You can try David Burton's Elementary Number Theory.
– Brahadeesh
Dec 8 at 8:25
Thank you, I will definetly check this one.
– R. Jacks
Dec 8 at 8:37
add a comment |
We define primitive root of $p$ to be a number whose order is $p-1$. Then you should be asking why/how at least one primitive root exists for every prime number..
– rsadhvika
Dec 8 at 8:17
You can try David Burton's Elementary Number Theory.
– Brahadeesh
Dec 8 at 8:25
Thank you, I will definetly check this one.
– R. Jacks
Dec 8 at 8:37
We define primitive root of $p$ to be a number whose order is $p-1$. Then you should be asking why/how at least one primitive root exists for every prime number..
– rsadhvika
Dec 8 at 8:17
We define primitive root of $p$ to be a number whose order is $p-1$. Then you should be asking why/how at least one primitive root exists for every prime number..
– rsadhvika
Dec 8 at 8:17
You can try David Burton's Elementary Number Theory.
– Brahadeesh
Dec 8 at 8:25
You can try David Burton's Elementary Number Theory.
– Brahadeesh
Dec 8 at 8:25
Thank you, I will definetly check this one.
– R. Jacks
Dec 8 at 8:37
Thank you, I will definetly check this one.
– R. Jacks
Dec 8 at 8:37
add a comment |
2 Answers
2
active
oldest
votes
Suppose $r^aequiv r^b pmod p $ for some $1leq a,bleq p-1$ . Since $(r^b,p)=1$,inverse of $r^b$ exists, say, $r^{-b}$. Multiplying the first equation by $r^{-b}$ will give us $r^{a-b}equiv 1 pmod p $. Since $r $ is a primitive root and $1leq a,bleq p-1$, the only possibility is $a=b $. Hence, $r^x pmod p$ produces distinct elements as $x$ varies from $1$ to $p-1$. Since there are $p-1$ distinct elements, these elements corresponds the elements of the set ${1,2,ldots,p-1} $.
1
Thank you! This was a big help.
– R. Jacks
Dec 9 at 11:59
add a comment |
We have a group of order $p-1$ (the non-zero class mod $p$ under multiplication) and by definition a primitive root is an element of order $p-1$, so $x^{p-1} =1$ and $x^n neq 1$ for all $1 le n < p-1$ ($p-1$ is the minimal power that gives $1$). Distinctness is then simpel group theory:
If $x^r = x^s$ for some $1le s < r < p-1$ then $x^rcdot (x^s)^{-1} = x^{(r-s)}=1$ and as $1 le r-s < p-1$ this contradicts the minimality condition of the order. So all $x^r$ are distinct for $1 le r < p-1$.
Thank you! Got this one explained and now I can continue with existence.
– R. Jacks
Dec 9 at 11:59
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3030817%2flet-r-be-primitive-root-mod-p-when-x-goes-from-1-to-p-1-then-rx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Suppose $r^aequiv r^b pmod p $ for some $1leq a,bleq p-1$ . Since $(r^b,p)=1$,inverse of $r^b$ exists, say, $r^{-b}$. Multiplying the first equation by $r^{-b}$ will give us $r^{a-b}equiv 1 pmod p $. Since $r $ is a primitive root and $1leq a,bleq p-1$, the only possibility is $a=b $. Hence, $r^x pmod p$ produces distinct elements as $x$ varies from $1$ to $p-1$. Since there are $p-1$ distinct elements, these elements corresponds the elements of the set ${1,2,ldots,p-1} $.
1
Thank you! This was a big help.
– R. Jacks
Dec 9 at 11:59
add a comment |
Suppose $r^aequiv r^b pmod p $ for some $1leq a,bleq p-1$ . Since $(r^b,p)=1$,inverse of $r^b$ exists, say, $r^{-b}$. Multiplying the first equation by $r^{-b}$ will give us $r^{a-b}equiv 1 pmod p $. Since $r $ is a primitive root and $1leq a,bleq p-1$, the only possibility is $a=b $. Hence, $r^x pmod p$ produces distinct elements as $x$ varies from $1$ to $p-1$. Since there are $p-1$ distinct elements, these elements corresponds the elements of the set ${1,2,ldots,p-1} $.
1
Thank you! This was a big help.
– R. Jacks
Dec 9 at 11:59
add a comment |
Suppose $r^aequiv r^b pmod p $ for some $1leq a,bleq p-1$ . Since $(r^b,p)=1$,inverse of $r^b$ exists, say, $r^{-b}$. Multiplying the first equation by $r^{-b}$ will give us $r^{a-b}equiv 1 pmod p $. Since $r $ is a primitive root and $1leq a,bleq p-1$, the only possibility is $a=b $. Hence, $r^x pmod p$ produces distinct elements as $x$ varies from $1$ to $p-1$. Since there are $p-1$ distinct elements, these elements corresponds the elements of the set ${1,2,ldots,p-1} $.
Suppose $r^aequiv r^b pmod p $ for some $1leq a,bleq p-1$ . Since $(r^b,p)=1$,inverse of $r^b$ exists, say, $r^{-b}$. Multiplying the first equation by $r^{-b}$ will give us $r^{a-b}equiv 1 pmod p $. Since $r $ is a primitive root and $1leq a,bleq p-1$, the only possibility is $a=b $. Hence, $r^x pmod p$ produces distinct elements as $x$ varies from $1$ to $p-1$. Since there are $p-1$ distinct elements, these elements corresponds the elements of the set ${1,2,ldots,p-1} $.
answered Dec 8 at 9:51
Thomas Shelby
1,242116
1,242116
1
Thank you! This was a big help.
– R. Jacks
Dec 9 at 11:59
add a comment |
1
Thank you! This was a big help.
– R. Jacks
Dec 9 at 11:59
1
1
Thank you! This was a big help.
– R. Jacks
Dec 9 at 11:59
Thank you! This was a big help.
– R. Jacks
Dec 9 at 11:59
add a comment |
We have a group of order $p-1$ (the non-zero class mod $p$ under multiplication) and by definition a primitive root is an element of order $p-1$, so $x^{p-1} =1$ and $x^n neq 1$ for all $1 le n < p-1$ ($p-1$ is the minimal power that gives $1$). Distinctness is then simpel group theory:
If $x^r = x^s$ for some $1le s < r < p-1$ then $x^rcdot (x^s)^{-1} = x^{(r-s)}=1$ and as $1 le r-s < p-1$ this contradicts the minimality condition of the order. So all $x^r$ are distinct for $1 le r < p-1$.
Thank you! Got this one explained and now I can continue with existence.
– R. Jacks
Dec 9 at 11:59
add a comment |
We have a group of order $p-1$ (the non-zero class mod $p$ under multiplication) and by definition a primitive root is an element of order $p-1$, so $x^{p-1} =1$ and $x^n neq 1$ for all $1 le n < p-1$ ($p-1$ is the minimal power that gives $1$). Distinctness is then simpel group theory:
If $x^r = x^s$ for some $1le s < r < p-1$ then $x^rcdot (x^s)^{-1} = x^{(r-s)}=1$ and as $1 le r-s < p-1$ this contradicts the minimality condition of the order. So all $x^r$ are distinct for $1 le r < p-1$.
Thank you! Got this one explained and now I can continue with existence.
– R. Jacks
Dec 9 at 11:59
add a comment |
We have a group of order $p-1$ (the non-zero class mod $p$ under multiplication) and by definition a primitive root is an element of order $p-1$, so $x^{p-1} =1$ and $x^n neq 1$ for all $1 le n < p-1$ ($p-1$ is the minimal power that gives $1$). Distinctness is then simpel group theory:
If $x^r = x^s$ for some $1le s < r < p-1$ then $x^rcdot (x^s)^{-1} = x^{(r-s)}=1$ and as $1 le r-s < p-1$ this contradicts the minimality condition of the order. So all $x^r$ are distinct for $1 le r < p-1$.
We have a group of order $p-1$ (the non-zero class mod $p$ under multiplication) and by definition a primitive root is an element of order $p-1$, so $x^{p-1} =1$ and $x^n neq 1$ for all $1 le n < p-1$ ($p-1$ is the minimal power that gives $1$). Distinctness is then simpel group theory:
If $x^r = x^s$ for some $1le s < r < p-1$ then $x^rcdot (x^s)^{-1} = x^{(r-s)}=1$ and as $1 le r-s < p-1$ this contradicts the minimality condition of the order. So all $x^r$ are distinct for $1 le r < p-1$.
answered Dec 8 at 22:44
Henno Brandsma
104k346113
104k346113
Thank you! Got this one explained and now I can continue with existence.
– R. Jacks
Dec 9 at 11:59
add a comment |
Thank you! Got this one explained and now I can continue with existence.
– R. Jacks
Dec 9 at 11:59
Thank you! Got this one explained and now I can continue with existence.
– R. Jacks
Dec 9 at 11:59
Thank you! Got this one explained and now I can continue with existence.
– R. Jacks
Dec 9 at 11:59
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3030817%2flet-r-be-primitive-root-mod-p-when-x-goes-from-1-to-p-1-then-rx%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
We define primitive root of $p$ to be a number whose order is $p-1$. Then you should be asking why/how at least one primitive root exists for every prime number..
– rsadhvika
Dec 8 at 8:17
You can try David Burton's Elementary Number Theory.
– Brahadeesh
Dec 8 at 8:25
Thank you, I will definetly check this one.
– R. Jacks
Dec 8 at 8:37