How many different pairs of integers $(x,y)$ modulo $p$ such that $ax^2+by^2+c equiv 0pmod{p}$?












3















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)










share|cite|improve this question




















  • 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
















3















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)










share|cite|improve this question




















  • 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














3












3








3


1






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)










share|cite|improve this question
















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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 27 at 0:44

























asked Nov 26 at 18:32









color

186




186








  • 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




    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










1 Answer
1






active

oldest

votes


















0














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.






share|cite|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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.






    share|cite|improve this answer




























      0














      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.






      share|cite|improve this answer


























        0












        0








        0






        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.






        share|cite|improve this answer














        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.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Nov 29 at 17:31

























        answered Nov 29 at 17:26









        sirous

        1,5891513




        1,5891513






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Bundesstraße 106

            Verónica Boquete

            Ida-Boy-Ed-Garten