How many different pairs of integers $(x,y)$ modulo $p$ such that $ax^2+by^2+c equiv 0pmod{p}$?
up vote
3
down vote
favorite
Let $p$ be an odd prime number and $a,b,c$ be integers coprime with $p$. How many different pairs of integers $(x,y)$ modulo $p$ such that $ax^2+by^2+c equiv 0pmod{p}$ ?
Until now I haven't had any specific way to approach this problem. How can I find the number of solutions of the equation $ax^2+by^2+c equiv 0pmod{p}$ ? Or can it only be counted with some given conditions of $a,b,c$ ?
(Please let me know if I should add some details to this problem)
calculus combinatorics number-theory elementary-number-theory discrete-mathematics
add a comment |
up vote
3
down vote
favorite
Let $p$ be an odd prime number and $a,b,c$ be integers coprime with $p$. How many different pairs of integers $(x,y)$ modulo $p$ such that $ax^2+by^2+c equiv 0pmod{p}$ ?
Until now I haven't had any specific way to approach this problem. How can I find the number of solutions of the equation $ax^2+by^2+c equiv 0pmod{p}$ ? Or can it only be counted with some given conditions of $a,b,c$ ?
(Please let me know if I should add some details to this problem)
calculus combinatorics number-theory elementary-number-theory discrete-mathematics
2
This question seems to be related with this one here: math.stackexchange.com/questions/1190423/…
– Dr. Mathva
Nov 26 at 18:38
@Dr.Mathva Yes, thank you. However I am looking for the number of solutions, not just if a solution exists.
– color
Nov 26 at 18:43
1
Let $chi(n) = n^{(p-1)/2}= pm 1, chi(0) = 0$. Then there are $sum_{x bmod p} chi(b^{-1})chi(-ax^2-c)+chi(b^{-1})^2chi(-ax^2-c)^2$ solutions with $y ne 0$. Can you go further assuming $-ac^{-1} = d^2$ ?
– reuns
Nov 27 at 0:56
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Let $p$ be an odd prime number and $a,b,c$ be integers coprime with $p$. How many different pairs of integers $(x,y)$ modulo $p$ such that $ax^2+by^2+c equiv 0pmod{p}$ ?
Until now I haven't had any specific way to approach this problem. How can I find the number of solutions of the equation $ax^2+by^2+c equiv 0pmod{p}$ ? Or can it only be counted with some given conditions of $a,b,c$ ?
(Please let me know if I should add some details to this problem)
calculus combinatorics number-theory elementary-number-theory discrete-mathematics
Let $p$ be an odd prime number and $a,b,c$ be integers coprime with $p$. How many different pairs of integers $(x,y)$ modulo $p$ such that $ax^2+by^2+c equiv 0pmod{p}$ ?
Until now I haven't had any specific way to approach this problem. How can I find the number of solutions of the equation $ax^2+by^2+c equiv 0pmod{p}$ ? Or can it only be counted with some given conditions of $a,b,c$ ?
(Please let me know if I should add some details to this problem)
calculus combinatorics number-theory elementary-number-theory discrete-mathematics
calculus combinatorics number-theory elementary-number-theory discrete-mathematics
edited Nov 27 at 0:44
asked Nov 26 at 18:32
color
163
163
2
This question seems to be related with this one here: math.stackexchange.com/questions/1190423/…
– Dr. Mathva
Nov 26 at 18:38
@Dr.Mathva Yes, thank you. However I am looking for the number of solutions, not just if a solution exists.
– color
Nov 26 at 18:43
1
Let $chi(n) = n^{(p-1)/2}= pm 1, chi(0) = 0$. Then there are $sum_{x bmod p} chi(b^{-1})chi(-ax^2-c)+chi(b^{-1})^2chi(-ax^2-c)^2$ solutions with $y ne 0$. Can you go further assuming $-ac^{-1} = d^2$ ?
– reuns
Nov 27 at 0:56
add a comment |
2
This question seems to be related with this one here: math.stackexchange.com/questions/1190423/…
– Dr. Mathva
Nov 26 at 18:38
@Dr.Mathva Yes, thank you. However I am looking for the number of solutions, not just if a solution exists.
– color
Nov 26 at 18:43
1
Let $chi(n) = n^{(p-1)/2}= pm 1, chi(0) = 0$. Then there are $sum_{x bmod p} chi(b^{-1})chi(-ax^2-c)+chi(b^{-1})^2chi(-ax^2-c)^2$ solutions with $y ne 0$. Can you go further assuming $-ac^{-1} = d^2$ ?
– reuns
Nov 27 at 0:56
2
2
This question seems to be related with this one here: math.stackexchange.com/questions/1190423/…
– Dr. Mathva
Nov 26 at 18:38
This question seems to be related with this one here: math.stackexchange.com/questions/1190423/…
– Dr. Mathva
Nov 26 at 18:38
@Dr.Mathva Yes, thank you. However I am looking for the number of solutions, not just if a solution exists.
– color
Nov 26 at 18:43
@Dr.Mathva Yes, thank you. However I am looking for the number of solutions, not just if a solution exists.
– color
Nov 26 at 18:43
1
1
Let $chi(n) = n^{(p-1)/2}= pm 1, chi(0) = 0$. Then there are $sum_{x bmod p} chi(b^{-1})chi(-ax^2-c)+chi(b^{-1})^2chi(-ax^2-c)^2$ solutions with $y ne 0$. Can you go further assuming $-ac^{-1} = d^2$ ?
– reuns
Nov 27 at 0:56
Let $chi(n) = n^{(p-1)/2}= pm 1, chi(0) = 0$. Then there are $sum_{x bmod p} chi(b^{-1})chi(-ax^2-c)+chi(b^{-1})^2chi(-ax^2-c)^2$ solutions with $y ne 0$. Can you go further assuming $-ac^{-1} = d^2$ ?
– reuns
Nov 27 at 0:56
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Suppose There is a number d which is prime to p such that we can write following relations (for a simple form let $c=-1$):
$d^{p-1}-1 ≡0mod p$
$ax^2+by^2=d^{p-1}$
If $y=0$ then:
$$x=frac{d^{(p-1)/2}}{a^{1/2}}$$
So
$x=<frac{d^{(p-1)/2}}{a^{1/2}}$
That is $1,2,3, . . frac{d^{(p-1)/2}}{a^{1/2}}$ can be the solutions for x, so number of solutions for x is $$chi_x=frac{d^{(p-1)/2}}{a^{1/2}}$$ . Clearly there will be corresponding value for y for each value of x. The equation is symmetric and the same argument could be applied for y, therefore:
$$y=<frac{d^{(p-1)/2}}{b^{1/2}}$$
That is the number of solutions for y is $$chi_y=frac{d^{(p-1)/2}}{b^{1/2}}$$ So the number of solution must be equal to:
$$chi=frac{d^{(p-1)/2}}{a^{1/2}}+frac{d^{(p-1)/2}}{b^{1/2}}$$
You can exclude 1 from solutions and find better formula.
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',
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%2f3014729%2fhow-many-different-pairs-of-integers-x-y-modulo-p-such-that-ax2by2c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Suppose There is a number d which is prime to p such that we can write following relations (for a simple form let $c=-1$):
$d^{p-1}-1 ≡0mod p$
$ax^2+by^2=d^{p-1}$
If $y=0$ then:
$$x=frac{d^{(p-1)/2}}{a^{1/2}}$$
So
$x=<frac{d^{(p-1)/2}}{a^{1/2}}$
That is $1,2,3, . . frac{d^{(p-1)/2}}{a^{1/2}}$ can be the solutions for x, so number of solutions for x is $$chi_x=frac{d^{(p-1)/2}}{a^{1/2}}$$ . Clearly there will be corresponding value for y for each value of x. The equation is symmetric and the same argument could be applied for y, therefore:
$$y=<frac{d^{(p-1)/2}}{b^{1/2}}$$
That is the number of solutions for y is $$chi_y=frac{d^{(p-1)/2}}{b^{1/2}}$$ So the number of solution must be equal to:
$$chi=frac{d^{(p-1)/2}}{a^{1/2}}+frac{d^{(p-1)/2}}{b^{1/2}}$$
You can exclude 1 from solutions and find better formula.
add a comment |
up vote
0
down vote
Suppose There is a number d which is prime to p such that we can write following relations (for a simple form let $c=-1$):
$d^{p-1}-1 ≡0mod p$
$ax^2+by^2=d^{p-1}$
If $y=0$ then:
$$x=frac{d^{(p-1)/2}}{a^{1/2}}$$
So
$x=<frac{d^{(p-1)/2}}{a^{1/2}}$
That is $1,2,3, . . frac{d^{(p-1)/2}}{a^{1/2}}$ can be the solutions for x, so number of solutions for x is $$chi_x=frac{d^{(p-1)/2}}{a^{1/2}}$$ . Clearly there will be corresponding value for y for each value of x. The equation is symmetric and the same argument could be applied for y, therefore:
$$y=<frac{d^{(p-1)/2}}{b^{1/2}}$$
That is the number of solutions for y is $$chi_y=frac{d^{(p-1)/2}}{b^{1/2}}$$ So the number of solution must be equal to:
$$chi=frac{d^{(p-1)/2}}{a^{1/2}}+frac{d^{(p-1)/2}}{b^{1/2}}$$
You can exclude 1 from solutions and find better formula.
add a comment |
up vote
0
down vote
up vote
0
down vote
Suppose There is a number d which is prime to p such that we can write following relations (for a simple form let $c=-1$):
$d^{p-1}-1 ≡0mod p$
$ax^2+by^2=d^{p-1}$
If $y=0$ then:
$$x=frac{d^{(p-1)/2}}{a^{1/2}}$$
So
$x=<frac{d^{(p-1)/2}}{a^{1/2}}$
That is $1,2,3, . . frac{d^{(p-1)/2}}{a^{1/2}}$ can be the solutions for x, so number of solutions for x is $$chi_x=frac{d^{(p-1)/2}}{a^{1/2}}$$ . Clearly there will be corresponding value for y for each value of x. The equation is symmetric and the same argument could be applied for y, therefore:
$$y=<frac{d^{(p-1)/2}}{b^{1/2}}$$
That is the number of solutions for y is $$chi_y=frac{d^{(p-1)/2}}{b^{1/2}}$$ So the number of solution must be equal to:
$$chi=frac{d^{(p-1)/2}}{a^{1/2}}+frac{d^{(p-1)/2}}{b^{1/2}}$$
You can exclude 1 from solutions and find better formula.
Suppose There is a number d which is prime to p such that we can write following relations (for a simple form let $c=-1$):
$d^{p-1}-1 ≡0mod p$
$ax^2+by^2=d^{p-1}$
If $y=0$ then:
$$x=frac{d^{(p-1)/2}}{a^{1/2}}$$
So
$x=<frac{d^{(p-1)/2}}{a^{1/2}}$
That is $1,2,3, . . frac{d^{(p-1)/2}}{a^{1/2}}$ can be the solutions for x, so number of solutions for x is $$chi_x=frac{d^{(p-1)/2}}{a^{1/2}}$$ . Clearly there will be corresponding value for y for each value of x. The equation is symmetric and the same argument could be applied for y, therefore:
$$y=<frac{d^{(p-1)/2}}{b^{1/2}}$$
That is the number of solutions for y is $$chi_y=frac{d^{(p-1)/2}}{b^{1/2}}$$ So the number of solution must be equal to:
$$chi=frac{d^{(p-1)/2}}{a^{1/2}}+frac{d^{(p-1)/2}}{b^{1/2}}$$
You can exclude 1 from solutions and find better formula.
edited Nov 29 at 17:31
answered Nov 29 at 17:26
sirous
1,5741513
1,5741513
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%2f3014729%2fhow-many-different-pairs-of-integers-x-y-modulo-p-such-that-ax2by2c%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
This question seems to be related with this one here: math.stackexchange.com/questions/1190423/…
– Dr. Mathva
Nov 26 at 18:38
@Dr.Mathva Yes, thank you. However I am looking for the number of solutions, not just if a solution exists.
– color
Nov 26 at 18:43
1
Let $chi(n) = n^{(p-1)/2}= pm 1, chi(0) = 0$. Then there are $sum_{x bmod p} chi(b^{-1})chi(-ax^2-c)+chi(b^{-1})^2chi(-ax^2-c)^2$ solutions with $y ne 0$. Can you go further assuming $-ac^{-1} = d^2$ ?
– reuns
Nov 27 at 0:56