Classify the odd primes $q$ such that a NEGATIVE number is a quadratic residue $mod{q}$
Suppose we are given $y < -1$. I wish to classify all primes $q$ such that $y$ is a quadratic residue $pmod{q}$, i.e. such that there exists a number $x$ satisfying $$y equiv x^2 pmod{q}.$$
How would I go about doing this? I'm aware that if instead $y>1$ then I can write $y$ as a product of primes and use the law of quadratic reciprocity. However, this doesn't seem to be applicable if $y<-1$, as the Legendre/Jacobi symbol requires a positive number in the denominator, and since we do not know $q$, it seems (although I may be wrong) we cannot find a meaningful positive representative modulo $q$.
elementary-number-theory prime-numbers
add a comment |
Suppose we are given $y < -1$. I wish to classify all primes $q$ such that $y$ is a quadratic residue $pmod{q}$, i.e. such that there exists a number $x$ satisfying $$y equiv x^2 pmod{q}.$$
How would I go about doing this? I'm aware that if instead $y>1$ then I can write $y$ as a product of primes and use the law of quadratic reciprocity. However, this doesn't seem to be applicable if $y<-1$, as the Legendre/Jacobi symbol requires a positive number in the denominator, and since we do not know $q$, it seems (although I may be wrong) we cannot find a meaningful positive representative modulo $q$.
elementary-number-theory prime-numbers
2
You can add $q$ to $y$ as many times as needed to make it positive. Also, you can calculate the Legendre symbol value of $frac{-1}{q}$.
– Calvin Lin
May 13 '13 at 1:14
$left( frac{-1}{q} right)=(-1)^frac{q-1}{2}$ for odd $q$... You would need to study separately what happens when $q$ is even and prime ;)
– N. S.
May 13 '13 at 1:15
add a comment |
Suppose we are given $y < -1$. I wish to classify all primes $q$ such that $y$ is a quadratic residue $pmod{q}$, i.e. such that there exists a number $x$ satisfying $$y equiv x^2 pmod{q}.$$
How would I go about doing this? I'm aware that if instead $y>1$ then I can write $y$ as a product of primes and use the law of quadratic reciprocity. However, this doesn't seem to be applicable if $y<-1$, as the Legendre/Jacobi symbol requires a positive number in the denominator, and since we do not know $q$, it seems (although I may be wrong) we cannot find a meaningful positive representative modulo $q$.
elementary-number-theory prime-numbers
Suppose we are given $y < -1$. I wish to classify all primes $q$ such that $y$ is a quadratic residue $pmod{q}$, i.e. such that there exists a number $x$ satisfying $$y equiv x^2 pmod{q}.$$
How would I go about doing this? I'm aware that if instead $y>1$ then I can write $y$ as a product of primes and use the law of quadratic reciprocity. However, this doesn't seem to be applicable if $y<-1$, as the Legendre/Jacobi symbol requires a positive number in the denominator, and since we do not know $q$, it seems (although I may be wrong) we cannot find a meaningful positive representative modulo $q$.
elementary-number-theory prime-numbers
elementary-number-theory prime-numbers
asked May 13 '13 at 1:10
Damien
153
153
2
You can add $q$ to $y$ as many times as needed to make it positive. Also, you can calculate the Legendre symbol value of $frac{-1}{q}$.
– Calvin Lin
May 13 '13 at 1:14
$left( frac{-1}{q} right)=(-1)^frac{q-1}{2}$ for odd $q$... You would need to study separately what happens when $q$ is even and prime ;)
– N. S.
May 13 '13 at 1:15
add a comment |
2
You can add $q$ to $y$ as many times as needed to make it positive. Also, you can calculate the Legendre symbol value of $frac{-1}{q}$.
– Calvin Lin
May 13 '13 at 1:14
$left( frac{-1}{q} right)=(-1)^frac{q-1}{2}$ for odd $q$... You would need to study separately what happens when $q$ is even and prime ;)
– N. S.
May 13 '13 at 1:15
2
2
You can add $q$ to $y$ as many times as needed to make it positive. Also, you can calculate the Legendre symbol value of $frac{-1}{q}$.
– Calvin Lin
May 13 '13 at 1:14
You can add $q$ to $y$ as many times as needed to make it positive. Also, you can calculate the Legendre symbol value of $frac{-1}{q}$.
– Calvin Lin
May 13 '13 at 1:14
$left( frac{-1}{q} right)=(-1)^frac{q-1}{2}$ for odd $q$... You would need to study separately what happens when $q$ is even and prime ;)
– N. S.
May 13 '13 at 1:15
$left( frac{-1}{q} right)=(-1)^frac{q-1}{2}$ for odd $q$... You would need to study separately what happens when $q$ is even and prime ;)
– N. S.
May 13 '13 at 1:15
add a comment |
3 Answers
3
active
oldest
votes
You can take out the $-1$ using the multiplicativity of the Legendre symbol, and use the first supplementary law:
$$left(frac{-a}{q}right)=left(frac{-1}{q}right)left(frac{a}{q}right)=(-1)^{(q-1)/2}left(frac{a}{q}right)$$
Gosh, I feel silly! Thank you!
– Damien
May 13 '13 at 1:33
add a comment |
There are $frac{p-1}{2}$ quadratic residues between $1$ and $p-1$. Let $x$ be any of these, and let $y=x-17p$. Since $x$ is a quadratic residue of $p$, so is $y$.
add a comment |
Yet another easy problem: For some integer $p$, pick any integer $x$ and compute $a=x^2pmod p$. $-p+a$ is a negative number that is a quadratic residue $pmod p$. In fact, $pk+a$ is a quadratic residue that is a negative number as long as $k$ is negative.
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%2f389978%2fclassify-the-odd-primes-q-such-that-a-negative-number-is-a-quadratic-residue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can take out the $-1$ using the multiplicativity of the Legendre symbol, and use the first supplementary law:
$$left(frac{-a}{q}right)=left(frac{-1}{q}right)left(frac{a}{q}right)=(-1)^{(q-1)/2}left(frac{a}{q}right)$$
Gosh, I feel silly! Thank you!
– Damien
May 13 '13 at 1:33
add a comment |
You can take out the $-1$ using the multiplicativity of the Legendre symbol, and use the first supplementary law:
$$left(frac{-a}{q}right)=left(frac{-1}{q}right)left(frac{a}{q}right)=(-1)^{(q-1)/2}left(frac{a}{q}right)$$
Gosh, I feel silly! Thank you!
– Damien
May 13 '13 at 1:33
add a comment |
You can take out the $-1$ using the multiplicativity of the Legendre symbol, and use the first supplementary law:
$$left(frac{-a}{q}right)=left(frac{-1}{q}right)left(frac{a}{q}right)=(-1)^{(q-1)/2}left(frac{a}{q}right)$$
You can take out the $-1$ using the multiplicativity of the Legendre symbol, and use the first supplementary law:
$$left(frac{-a}{q}right)=left(frac{-1}{q}right)left(frac{a}{q}right)=(-1)^{(q-1)/2}left(frac{a}{q}right)$$
answered May 13 '13 at 1:14
Zev Chonoles
109k16225422
109k16225422
Gosh, I feel silly! Thank you!
– Damien
May 13 '13 at 1:33
add a comment |
Gosh, I feel silly! Thank you!
– Damien
May 13 '13 at 1:33
Gosh, I feel silly! Thank you!
– Damien
May 13 '13 at 1:33
Gosh, I feel silly! Thank you!
– Damien
May 13 '13 at 1:33
add a comment |
There are $frac{p-1}{2}$ quadratic residues between $1$ and $p-1$. Let $x$ be any of these, and let $y=x-17p$. Since $x$ is a quadratic residue of $p$, so is $y$.
add a comment |
There are $frac{p-1}{2}$ quadratic residues between $1$ and $p-1$. Let $x$ be any of these, and let $y=x-17p$. Since $x$ is a quadratic residue of $p$, so is $y$.
add a comment |
There are $frac{p-1}{2}$ quadratic residues between $1$ and $p-1$. Let $x$ be any of these, and let $y=x-17p$. Since $x$ is a quadratic residue of $p$, so is $y$.
There are $frac{p-1}{2}$ quadratic residues between $1$ and $p-1$. Let $x$ be any of these, and let $y=x-17p$. Since $x$ is a quadratic residue of $p$, so is $y$.
answered May 13 '13 at 4:16
André Nicolas
451k36421805
451k36421805
add a comment |
add a comment |
Yet another easy problem: For some integer $p$, pick any integer $x$ and compute $a=x^2pmod p$. $-p+a$ is a negative number that is a quadratic residue $pmod p$. In fact, $pk+a$ is a quadratic residue that is a negative number as long as $k$ is negative.
add a comment |
Yet another easy problem: For some integer $p$, pick any integer $x$ and compute $a=x^2pmod p$. $-p+a$ is a negative number that is a quadratic residue $pmod p$. In fact, $pk+a$ is a quadratic residue that is a negative number as long as $k$ is negative.
add a comment |
Yet another easy problem: For some integer $p$, pick any integer $x$ and compute $a=x^2pmod p$. $-p+a$ is a negative number that is a quadratic residue $pmod p$. In fact, $pk+a$ is a quadratic residue that is a negative number as long as $k$ is negative.
Yet another easy problem: For some integer $p$, pick any integer $x$ and compute $a=x^2pmod p$. $-p+a$ is a negative number that is a quadratic residue $pmod p$. In fact, $pk+a$ is a quadratic residue that is a negative number as long as $k$ is negative.
answered Nov 20 '18 at 1:57
J. Linne
846315
846315
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.
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%2f389978%2fclassify-the-odd-primes-q-such-that-a-negative-number-is-a-quadratic-residue%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
2
You can add $q$ to $y$ as many times as needed to make it positive. Also, you can calculate the Legendre symbol value of $frac{-1}{q}$.
– Calvin Lin
May 13 '13 at 1:14
$left( frac{-1}{q} right)=(-1)^frac{q-1}{2}$ for odd $q$... You would need to study separately what happens when $q$ is even and prime ;)
– N. S.
May 13 '13 at 1:15