Legendre symbol $(-3/p)$ where $p = 1 mod 3$












1












$begingroup$


Suppose $p = 1 bmod 3$, prove the following statements:




  1. prove that $x^2 + x + 1 = 0 mod p$ has a solution

  2. Prove that $left(frac{-3}{p}right) = 1$ if $p = 1mod 3$

  3. Determine the discriminant of $x^2 + x + 1$

  4. Prove using 2,3 that $left(frac{-3}{p}right) = -1$ if $p = -1mod 3$


This is what I've tried by each question:




  1. prove $x^2 + x = -1 mod p$ has a solution, i tried to find an x such that: $x^2 + x = a^{frac{p-1}{2}} = -1 mod p$, where we use that a is equal to a quadratic non-residue and use Euler. I don't seem to see why this is true though.

  2. Note the following:
    $(2x+1)^2 = 4x^2 + 4x + 4 = 4(x^2 + x + 1) - 3 = -3 mod p$. So this solution exist and thus $-3$ must be a quadratic residue mod p.

  3. -3

  4. ?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Have a look at this rather famous question: math.stackexchange.com/questions/685958/…
    $endgroup$
    – Jack D'Aurizio
    Oct 28 '15 at 14:25






  • 1




    $begingroup$
    1) makes no sense as written. Also such "question dumps" are not really welcome.
    $endgroup$
    – quid
    Oct 28 '15 at 14:30






  • 1




    $begingroup$
    What is $x$? Is it solve for $x$?
    $endgroup$
    – SchrodingersCat
    Oct 28 '15 at 14:33












  • $begingroup$
    sorry forgot the sentence has a solution i will edit it right away
    $endgroup$
    – Kees Til
    Oct 28 '15 at 14:36






  • 2




    $begingroup$
    The most straightforward way to evaluate most Legendre symbols $(a/p)$ is by using Quadratic Reciprocity. Is that one of the tools you already have?
    $endgroup$
    – André Nicolas
    Oct 28 '15 at 16:38
















1












$begingroup$


Suppose $p = 1 bmod 3$, prove the following statements:




  1. prove that $x^2 + x + 1 = 0 mod p$ has a solution

  2. Prove that $left(frac{-3}{p}right) = 1$ if $p = 1mod 3$

  3. Determine the discriminant of $x^2 + x + 1$

  4. Prove using 2,3 that $left(frac{-3}{p}right) = -1$ if $p = -1mod 3$


This is what I've tried by each question:




  1. prove $x^2 + x = -1 mod p$ has a solution, i tried to find an x such that: $x^2 + x = a^{frac{p-1}{2}} = -1 mod p$, where we use that a is equal to a quadratic non-residue and use Euler. I don't seem to see why this is true though.

  2. Note the following:
    $(2x+1)^2 = 4x^2 + 4x + 4 = 4(x^2 + x + 1) - 3 = -3 mod p$. So this solution exist and thus $-3$ must be a quadratic residue mod p.

  3. -3

  4. ?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Have a look at this rather famous question: math.stackexchange.com/questions/685958/…
    $endgroup$
    – Jack D'Aurizio
    Oct 28 '15 at 14:25






  • 1




    $begingroup$
    1) makes no sense as written. Also such "question dumps" are not really welcome.
    $endgroup$
    – quid
    Oct 28 '15 at 14:30






  • 1




    $begingroup$
    What is $x$? Is it solve for $x$?
    $endgroup$
    – SchrodingersCat
    Oct 28 '15 at 14:33












  • $begingroup$
    sorry forgot the sentence has a solution i will edit it right away
    $endgroup$
    – Kees Til
    Oct 28 '15 at 14:36






  • 2




    $begingroup$
    The most straightforward way to evaluate most Legendre symbols $(a/p)$ is by using Quadratic Reciprocity. Is that one of the tools you already have?
    $endgroup$
    – André Nicolas
    Oct 28 '15 at 16:38














1












1








1


2



$begingroup$


Suppose $p = 1 bmod 3$, prove the following statements:




  1. prove that $x^2 + x + 1 = 0 mod p$ has a solution

  2. Prove that $left(frac{-3}{p}right) = 1$ if $p = 1mod 3$

  3. Determine the discriminant of $x^2 + x + 1$

  4. Prove using 2,3 that $left(frac{-3}{p}right) = -1$ if $p = -1mod 3$


This is what I've tried by each question:




  1. prove $x^2 + x = -1 mod p$ has a solution, i tried to find an x such that: $x^2 + x = a^{frac{p-1}{2}} = -1 mod p$, where we use that a is equal to a quadratic non-residue and use Euler. I don't seem to see why this is true though.

  2. Note the following:
    $(2x+1)^2 = 4x^2 + 4x + 4 = 4(x^2 + x + 1) - 3 = -3 mod p$. So this solution exist and thus $-3$ must be a quadratic residue mod p.

  3. -3

  4. ?










share|cite|improve this question











$endgroup$




Suppose $p = 1 bmod 3$, prove the following statements:




  1. prove that $x^2 + x + 1 = 0 mod p$ has a solution

  2. Prove that $left(frac{-3}{p}right) = 1$ if $p = 1mod 3$

  3. Determine the discriminant of $x^2 + x + 1$

  4. Prove using 2,3 that $left(frac{-3}{p}right) = -1$ if $p = -1mod 3$


This is what I've tried by each question:




  1. prove $x^2 + x = -1 mod p$ has a solution, i tried to find an x such that: $x^2 + x = a^{frac{p-1}{2}} = -1 mod p$, where we use that a is equal to a quadratic non-residue and use Euler. I don't seem to see why this is true though.

  2. Note the following:
    $(2x+1)^2 = 4x^2 + 4x + 4 = 4(x^2 + x + 1) - 3 = -3 mod p$. So this solution exist and thus $-3$ must be a quadratic residue mod p.

  3. -3

  4. ?







elementary-number-theory quadratic-residues legendre-symbol






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Oct 28 '15 at 18:32







user147263

















asked Oct 28 '15 at 14:22









Kees TilKees Til

602618




602618












  • $begingroup$
    Have a look at this rather famous question: math.stackexchange.com/questions/685958/…
    $endgroup$
    – Jack D'Aurizio
    Oct 28 '15 at 14:25






  • 1




    $begingroup$
    1) makes no sense as written. Also such "question dumps" are not really welcome.
    $endgroup$
    – quid
    Oct 28 '15 at 14:30






  • 1




    $begingroup$
    What is $x$? Is it solve for $x$?
    $endgroup$
    – SchrodingersCat
    Oct 28 '15 at 14:33












  • $begingroup$
    sorry forgot the sentence has a solution i will edit it right away
    $endgroup$
    – Kees Til
    Oct 28 '15 at 14:36






  • 2




    $begingroup$
    The most straightforward way to evaluate most Legendre symbols $(a/p)$ is by using Quadratic Reciprocity. Is that one of the tools you already have?
    $endgroup$
    – André Nicolas
    Oct 28 '15 at 16:38


















  • $begingroup$
    Have a look at this rather famous question: math.stackexchange.com/questions/685958/…
    $endgroup$
    – Jack D'Aurizio
    Oct 28 '15 at 14:25






  • 1




    $begingroup$
    1) makes no sense as written. Also such "question dumps" are not really welcome.
    $endgroup$
    – quid
    Oct 28 '15 at 14:30






  • 1




    $begingroup$
    What is $x$? Is it solve for $x$?
    $endgroup$
    – SchrodingersCat
    Oct 28 '15 at 14:33












  • $begingroup$
    sorry forgot the sentence has a solution i will edit it right away
    $endgroup$
    – Kees Til
    Oct 28 '15 at 14:36






  • 2




    $begingroup$
    The most straightforward way to evaluate most Legendre symbols $(a/p)$ is by using Quadratic Reciprocity. Is that one of the tools you already have?
    $endgroup$
    – André Nicolas
    Oct 28 '15 at 16:38
















$begingroup$
Have a look at this rather famous question: math.stackexchange.com/questions/685958/…
$endgroup$
– Jack D'Aurizio
Oct 28 '15 at 14:25




$begingroup$
Have a look at this rather famous question: math.stackexchange.com/questions/685958/…
$endgroup$
– Jack D'Aurizio
Oct 28 '15 at 14:25




1




1




$begingroup$
1) makes no sense as written. Also such "question dumps" are not really welcome.
$endgroup$
– quid
Oct 28 '15 at 14:30




$begingroup$
1) makes no sense as written. Also such "question dumps" are not really welcome.
$endgroup$
– quid
Oct 28 '15 at 14:30




1




1




$begingroup$
What is $x$? Is it solve for $x$?
$endgroup$
– SchrodingersCat
Oct 28 '15 at 14:33






$begingroup$
What is $x$? Is it solve for $x$?
$endgroup$
– SchrodingersCat
Oct 28 '15 at 14:33














$begingroup$
sorry forgot the sentence has a solution i will edit it right away
$endgroup$
– Kees Til
Oct 28 '15 at 14:36




$begingroup$
sorry forgot the sentence has a solution i will edit it right away
$endgroup$
– Kees Til
Oct 28 '15 at 14:36




2




2




$begingroup$
The most straightforward way to evaluate most Legendre symbols $(a/p)$ is by using Quadratic Reciprocity. Is that one of the tools you already have?
$endgroup$
– André Nicolas
Oct 28 '15 at 16:38




$begingroup$
The most straightforward way to evaluate most Legendre symbols $(a/p)$ is by using Quadratic Reciprocity. Is that one of the tools you already have?
$endgroup$
– André Nicolas
Oct 28 '15 at 16:38










1 Answer
1






active

oldest

votes


















0












$begingroup$


  1. You will need to use Cauchy's theorem (or similar) as mentioned in the answer that Jack D'Aurizio provided to the question mentioned in his comment. So if $p equiv 1 mod 3$ then there is an $x ne 1$ for which $x^3 = 1$, and then $(x-1)(x^2+ x+1) =0$ so we have our required root of $x^2 + x + 1 = 0$. By the way, any quadratic equation that has a root will automatically also have a second root, which can be found by noting that $x^2[(x^{-1})^2+x^{-1}+1]=x^2+x+1=0$ and thus $x^{-1}$ is the second root. Alternatively, note that $(-(x+1))^2+-(x+1)+1=x^2+x+1=0$, so the second root is $-(x+1)$, and we find as a bonus that $x^{-1}=-(x+1)$. This of course also follows easily by multiplying $x^2+x+1=0$ by $x^{-1}$.


  2. Agree with your own answer except for the typo:
    $$(2x+1)^2=4x^2+4x+1=4(x^2+x+1)-3=-3$$ so $(frac{-3}{p})=1$


  3. Indeed $D=1^2-4cdot 1cdot 1 = -3$. Effectively 2. says that $sqrt{D}$ exists, hence we can find the roots of the equation $x^2+x+1=0$ from $x_{1,2}=frac{-1 pm sqrt{-3}}{2} = frac{-1 pm (2x+1)}{2}$, thus $x_1=x$, $x_2=-(x+1)$, as mentioned under 1.


  4. If $p equiv -1 mod 3$ then there will be no non-trivial root of $x^3=1$ (as 3 does not divide the group order $p-1$), thus $sqrt{-3}$ does not exist (otherwise we would have solutions of $x^2+x+1=0$), which is the same as $(frac{-3}{p})=-1$







share|cite|improve this answer











$endgroup$













    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%2f1501799%2flegendre-symbol-3-p-where-p-1-mod-3%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












    $begingroup$


    1. You will need to use Cauchy's theorem (or similar) as mentioned in the answer that Jack D'Aurizio provided to the question mentioned in his comment. So if $p equiv 1 mod 3$ then there is an $x ne 1$ for which $x^3 = 1$, and then $(x-1)(x^2+ x+1) =0$ so we have our required root of $x^2 + x + 1 = 0$. By the way, any quadratic equation that has a root will automatically also have a second root, which can be found by noting that $x^2[(x^{-1})^2+x^{-1}+1]=x^2+x+1=0$ and thus $x^{-1}$ is the second root. Alternatively, note that $(-(x+1))^2+-(x+1)+1=x^2+x+1=0$, so the second root is $-(x+1)$, and we find as a bonus that $x^{-1}=-(x+1)$. This of course also follows easily by multiplying $x^2+x+1=0$ by $x^{-1}$.


    2. Agree with your own answer except for the typo:
      $$(2x+1)^2=4x^2+4x+1=4(x^2+x+1)-3=-3$$ so $(frac{-3}{p})=1$


    3. Indeed $D=1^2-4cdot 1cdot 1 = -3$. Effectively 2. says that $sqrt{D}$ exists, hence we can find the roots of the equation $x^2+x+1=0$ from $x_{1,2}=frac{-1 pm sqrt{-3}}{2} = frac{-1 pm (2x+1)}{2}$, thus $x_1=x$, $x_2=-(x+1)$, as mentioned under 1.


    4. If $p equiv -1 mod 3$ then there will be no non-trivial root of $x^3=1$ (as 3 does not divide the group order $p-1$), thus $sqrt{-3}$ does not exist (otherwise we would have solutions of $x^2+x+1=0$), which is the same as $(frac{-3}{p})=-1$







    share|cite|improve this answer











    $endgroup$


















      0












      $begingroup$


      1. You will need to use Cauchy's theorem (or similar) as mentioned in the answer that Jack D'Aurizio provided to the question mentioned in his comment. So if $p equiv 1 mod 3$ then there is an $x ne 1$ for which $x^3 = 1$, and then $(x-1)(x^2+ x+1) =0$ so we have our required root of $x^2 + x + 1 = 0$. By the way, any quadratic equation that has a root will automatically also have a second root, which can be found by noting that $x^2[(x^{-1})^2+x^{-1}+1]=x^2+x+1=0$ and thus $x^{-1}$ is the second root. Alternatively, note that $(-(x+1))^2+-(x+1)+1=x^2+x+1=0$, so the second root is $-(x+1)$, and we find as a bonus that $x^{-1}=-(x+1)$. This of course also follows easily by multiplying $x^2+x+1=0$ by $x^{-1}$.


      2. Agree with your own answer except for the typo:
        $$(2x+1)^2=4x^2+4x+1=4(x^2+x+1)-3=-3$$ so $(frac{-3}{p})=1$


      3. Indeed $D=1^2-4cdot 1cdot 1 = -3$. Effectively 2. says that $sqrt{D}$ exists, hence we can find the roots of the equation $x^2+x+1=0$ from $x_{1,2}=frac{-1 pm sqrt{-3}}{2} = frac{-1 pm (2x+1)}{2}$, thus $x_1=x$, $x_2=-(x+1)$, as mentioned under 1.


      4. If $p equiv -1 mod 3$ then there will be no non-trivial root of $x^3=1$ (as 3 does not divide the group order $p-1$), thus $sqrt{-3}$ does not exist (otherwise we would have solutions of $x^2+x+1=0$), which is the same as $(frac{-3}{p})=-1$







      share|cite|improve this answer











      $endgroup$
















        0












        0








        0





        $begingroup$


        1. You will need to use Cauchy's theorem (or similar) as mentioned in the answer that Jack D'Aurizio provided to the question mentioned in his comment. So if $p equiv 1 mod 3$ then there is an $x ne 1$ for which $x^3 = 1$, and then $(x-1)(x^2+ x+1) =0$ so we have our required root of $x^2 + x + 1 = 0$. By the way, any quadratic equation that has a root will automatically also have a second root, which can be found by noting that $x^2[(x^{-1})^2+x^{-1}+1]=x^2+x+1=0$ and thus $x^{-1}$ is the second root. Alternatively, note that $(-(x+1))^2+-(x+1)+1=x^2+x+1=0$, so the second root is $-(x+1)$, and we find as a bonus that $x^{-1}=-(x+1)$. This of course also follows easily by multiplying $x^2+x+1=0$ by $x^{-1}$.


        2. Agree with your own answer except for the typo:
          $$(2x+1)^2=4x^2+4x+1=4(x^2+x+1)-3=-3$$ so $(frac{-3}{p})=1$


        3. Indeed $D=1^2-4cdot 1cdot 1 = -3$. Effectively 2. says that $sqrt{D}$ exists, hence we can find the roots of the equation $x^2+x+1=0$ from $x_{1,2}=frac{-1 pm sqrt{-3}}{2} = frac{-1 pm (2x+1)}{2}$, thus $x_1=x$, $x_2=-(x+1)$, as mentioned under 1.


        4. If $p equiv -1 mod 3$ then there will be no non-trivial root of $x^3=1$ (as 3 does not divide the group order $p-1$), thus $sqrt{-3}$ does not exist (otherwise we would have solutions of $x^2+x+1=0$), which is the same as $(frac{-3}{p})=-1$







        share|cite|improve this answer











        $endgroup$




        1. You will need to use Cauchy's theorem (or similar) as mentioned in the answer that Jack D'Aurizio provided to the question mentioned in his comment. So if $p equiv 1 mod 3$ then there is an $x ne 1$ for which $x^3 = 1$, and then $(x-1)(x^2+ x+1) =0$ so we have our required root of $x^2 + x + 1 = 0$. By the way, any quadratic equation that has a root will automatically also have a second root, which can be found by noting that $x^2[(x^{-1})^2+x^{-1}+1]=x^2+x+1=0$ and thus $x^{-1}$ is the second root. Alternatively, note that $(-(x+1))^2+-(x+1)+1=x^2+x+1=0$, so the second root is $-(x+1)$, and we find as a bonus that $x^{-1}=-(x+1)$. This of course also follows easily by multiplying $x^2+x+1=0$ by $x^{-1}$.


        2. Agree with your own answer except for the typo:
          $$(2x+1)^2=4x^2+4x+1=4(x^2+x+1)-3=-3$$ so $(frac{-3}{p})=1$


        3. Indeed $D=1^2-4cdot 1cdot 1 = -3$. Effectively 2. says that $sqrt{D}$ exists, hence we can find the roots of the equation $x^2+x+1=0$ from $x_{1,2}=frac{-1 pm sqrt{-3}}{2} = frac{-1 pm (2x+1)}{2}$, thus $x_1=x$, $x_2=-(x+1)$, as mentioned under 1.


        4. If $p equiv -1 mod 3$ then there will be no non-trivial root of $x^3=1$ (as 3 does not divide the group order $p-1$), thus $sqrt{-3}$ does not exist (otherwise we would have solutions of $x^2+x+1=0$), which is the same as $(frac{-3}{p})=-1$








        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Nov 29 '15 at 17:06

























        answered Nov 28 '15 at 14:17









        Maestro13Maestro13

        1,081724




        1,081724






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f1501799%2flegendre-symbol-3-p-where-p-1-mod-3%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?