Is $n^{(p-1)/2}equiv -1pmod p$ implies $n$ is a primitive root modulo $p$?Can the relation of $a^{p} equiv...
Preparing as much as possible of a cake in advance
Learning to quickly identify valid fingering for piano?
Rationale to prefer local variables over instance variables?
Convert an array of objects to array of the objects' values
Do natural melee weapons (from racial traits) trigger Improved Divine Smite?
Does the US political system, in principle, allow for a no-party system?
The past tense for the quoting particle って
What is Tony Stark injecting into himself in Iron Man 3?
Is being socially reclusive okay for a graduate student?
How to chmod files that have a specific set of permissions
Professor forcing me to attend a conference
I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?
Dukha vs legitimate need
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Is it a Cyclops number? "Nobody" knows!
Are small insurances worth it
Can a Mexican citizen living in US under DACA drive to Canada?
Can a Mimic (container form) actually hold loot?
What can I do if someone tampers with my SSH public key?
Error in TransformedField
When to use the term transposed instead of modulation?
What is the oldest European royal house?
Are Wave equations equivalent to Maxwell equations in free space?
What is the purpose of a disclaimer like "this is not legal advice"?
Is $n^{(p-1)/2}equiv -1pmod p$ implies $n$ is a primitive root modulo $p$?
Can the relation of $a^{p} equiv apmod {2p}$ if (p prime and p>2) be added to Fermat's little theorem?Exhaustive (?) list of cases giving $sigma(n) equiv 0 pmod 4$ whenever $n$ is oddShowing that ${ nmid nu(n) equiv 0 pmod e}$ is independent of primitive rootWhy is $c+q$ still a primitive root modulo $q$?For which $n$ is $2^{2x+2} equiv 2pmod n quadtext{and}quad 2^{2x+2} equiv 4pmod {n-1} $Let $p$ be a prime. Then for every integer $a$ there is an integer $x$ such that $x^3 equiv a pmod p$What is the order of $3pmod{3215}$?Is $x^2 equiv 1 pmod{p^k} iff x equiv pm 1 pmod {p^k}$ for odd prime $p$?Show $p-a^2$ is a primitive root modulo $p$ with 1 < $a$ < $p-1$Show that $−g$ is also a primitive root of $p$ if $pequiv 1 pmod{4}$, but that $ord_p(−g) = frac{p−1}{2}$ if $p equiv 3 pmod{4}$.
$begingroup$
Let $p$ be an odd prime, $n$ be any integer, if $$n^{(p-1)/2}equiv -1pmod p,$$
is it always true that $k=p-1$ is the smallest positive integer satisfy $$n^kequiv 1pmod p?$$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
I think this is not obvious, because $(p-1)/2$ does not have any relation with $(p-1)/3$, I have found an example, $7^6equiv 1pmod {19}$, but then I checked that $7^9equiv 1pmod {19}$ is also true.
Is there any counterexample? Or any proof?
number-theory multiplicative-function
$endgroup$
add a comment |
$begingroup$
Let $p$ be an odd prime, $n$ be any integer, if $$n^{(p-1)/2}equiv -1pmod p,$$
is it always true that $k=p-1$ is the smallest positive integer satisfy $$n^kequiv 1pmod p?$$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
I think this is not obvious, because $(p-1)/2$ does not have any relation with $(p-1)/3$, I have found an example, $7^6equiv 1pmod {19}$, but then I checked that $7^9equiv 1pmod {19}$ is also true.
Is there any counterexample? Or any proof?
number-theory multiplicative-function
$endgroup$
add a comment |
$begingroup$
Let $p$ be an odd prime, $n$ be any integer, if $$n^{(p-1)/2}equiv -1pmod p,$$
is it always true that $k=p-1$ is the smallest positive integer satisfy $$n^kequiv 1pmod p?$$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
I think this is not obvious, because $(p-1)/2$ does not have any relation with $(p-1)/3$, I have found an example, $7^6equiv 1pmod {19}$, but then I checked that $7^9equiv 1pmod {19}$ is also true.
Is there any counterexample? Or any proof?
number-theory multiplicative-function
$endgroup$
Let $p$ be an odd prime, $n$ be any integer, if $$n^{(p-1)/2}equiv -1pmod p,$$
is it always true that $k=p-1$ is the smallest positive integer satisfy $$n^kequiv 1pmod p?$$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
I think this is not obvious, because $(p-1)/2$ does not have any relation with $(p-1)/3$, I have found an example, $7^6equiv 1pmod {19}$, but then I checked that $7^9equiv 1pmod {19}$ is also true.
Is there any counterexample? Or any proof?
number-theory multiplicative-function
number-theory multiplicative-function
asked 15 hours ago
kelvin hong 方kelvin hong 方
78018
78018
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
No. Take $n=5$, $p=13$. Then $frac{p-1}{2}=6$, $5^2=-1$ mod $p$, hence $5^6=-1$ mod $p$.
However, $5^4=1$.
$endgroup$
$begingroup$
I should find another way to solve my question, thanks for your counter-example!
$endgroup$
– kelvin hong 方
15 hours ago
add a comment |
$begingroup$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
Yes, it is possible, e.g. $bmod p!=!7!:, nequiv -1,iff n^{large 3}equiv -1,$ and $ n^{large 2}equiv 1$
Generally: $ , aequiv n^{large (p-1)/6}equiv -1iff ,a^{large 3}!equiv n^{large (p-1)/2}!equiv -1,$ and $ a^{large 2}!equiv n^{large (p-1)/3}!equiv 1$
$endgroup$
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%2f3138816%2fis-np-1-2-equiv-1-pmod-p-implies-n-is-a-primitive-root-modulo-p%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
$begingroup$
No. Take $n=5$, $p=13$. Then $frac{p-1}{2}=6$, $5^2=-1$ mod $p$, hence $5^6=-1$ mod $p$.
However, $5^4=1$.
$endgroup$
$begingroup$
I should find another way to solve my question, thanks for your counter-example!
$endgroup$
– kelvin hong 方
15 hours ago
add a comment |
$begingroup$
No. Take $n=5$, $p=13$. Then $frac{p-1}{2}=6$, $5^2=-1$ mod $p$, hence $5^6=-1$ mod $p$.
However, $5^4=1$.
$endgroup$
$begingroup$
I should find another way to solve my question, thanks for your counter-example!
$endgroup$
– kelvin hong 方
15 hours ago
add a comment |
$begingroup$
No. Take $n=5$, $p=13$. Then $frac{p-1}{2}=6$, $5^2=-1$ mod $p$, hence $5^6=-1$ mod $p$.
However, $5^4=1$.
$endgroup$
No. Take $n=5$, $p=13$. Then $frac{p-1}{2}=6$, $5^2=-1$ mod $p$, hence $5^6=-1$ mod $p$.
However, $5^4=1$.
answered 15 hours ago
MindlackMindlack
4,885211
4,885211
$begingroup$
I should find another way to solve my question, thanks for your counter-example!
$endgroup$
– kelvin hong 方
15 hours ago
add a comment |
$begingroup$
I should find another way to solve my question, thanks for your counter-example!
$endgroup$
– kelvin hong 方
15 hours ago
$begingroup$
I should find another way to solve my question, thanks for your counter-example!
$endgroup$
– kelvin hong 方
15 hours ago
$begingroup$
I should find another way to solve my question, thanks for your counter-example!
$endgroup$
– kelvin hong 方
15 hours ago
add a comment |
$begingroup$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
Yes, it is possible, e.g. $bmod p!=!7!:, nequiv -1,iff n^{large 3}equiv -1,$ and $ n^{large 2}equiv 1$
Generally: $ , aequiv n^{large (p-1)/6}equiv -1iff ,a^{large 3}!equiv n^{large (p-1)/2}!equiv -1,$ and $ a^{large 2}!equiv n^{large (p-1)/3}!equiv 1$
$endgroup$
add a comment |
$begingroup$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
Yes, it is possible, e.g. $bmod p!=!7!:, nequiv -1,iff n^{large 3}equiv -1,$ and $ n^{large 2}equiv 1$
Generally: $ , aequiv n^{large (p-1)/6}equiv -1iff ,a^{large 3}!equiv n^{large (p-1)/2}!equiv -1,$ and $ a^{large 2}!equiv n^{large (p-1)/3}!equiv 1$
$endgroup$
add a comment |
$begingroup$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
Yes, it is possible, e.g. $bmod p!=!7!:, nequiv -1,iff n^{large 3}equiv -1,$ and $ n^{large 2}equiv 1$
Generally: $ , aequiv n^{large (p-1)/6}equiv -1iff ,a^{large 3}!equiv n^{large (p-1)/2}!equiv -1,$ and $ a^{large 2}!equiv n^{large (p-1)/3}!equiv 1$
$endgroup$
This is the little lemma I need in my solution to a bigger problem. I first hold a skeptical mind that this is false, so I want to find is it possible $$n^{(p-1)/2}equiv -1pmod pquad text{and} quad n^{(p-1)/3}equiv1pmod p?$$
Yes, it is possible, e.g. $bmod p!=!7!:, nequiv -1,iff n^{large 3}equiv -1,$ and $ n^{large 2}equiv 1$
Generally: $ , aequiv n^{large (p-1)/6}equiv -1iff ,a^{large 3}!equiv n^{large (p-1)/2}!equiv -1,$ and $ a^{large 2}!equiv n^{large (p-1)/3}!equiv 1$
answered 10 hours ago
Bill DubuqueBill Dubuque
212k29195650
212k29195650
add a comment |
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.
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%2f3138816%2fis-np-1-2-equiv-1-pmod-p-implies-n-is-a-primitive-root-modulo-p%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