If $p=x^2-6y^2$ is a prime then $pequiv 1 , 19 mod24$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












Let $p > 3$ be a prime for which there exists $x, y in mathbbZ$ such that $p = x^2 - 6y^2$.



Show that $p equiv 1 or 19 mod24$.




The fact that $p = x^2 - 6y^2$ implies that $left(frac6pright) = 1$ (Legendre symbol) and therefore $p equiv 1, 5, 19, 23 bmod24$, but I don't know how to continue.







share|cite|improve this question

























    up vote
    2
    down vote

    favorite












    Let $p > 3$ be a prime for which there exists $x, y in mathbbZ$ such that $p = x^2 - 6y^2$.



    Show that $p equiv 1 or 19 mod24$.




    The fact that $p = x^2 - 6y^2$ implies that $left(frac6pright) = 1$ (Legendre symbol) and therefore $p equiv 1, 5, 19, 23 bmod24$, but I don't know how to continue.







    share|cite|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      Let $p > 3$ be a prime for which there exists $x, y in mathbbZ$ such that $p = x^2 - 6y^2$.



      Show that $p equiv 1 or 19 mod24$.




      The fact that $p = x^2 - 6y^2$ implies that $left(frac6pright) = 1$ (Legendre symbol) and therefore $p equiv 1, 5, 19, 23 bmod24$, but I don't know how to continue.







      share|cite|improve this question













      Let $p > 3$ be a prime for which there exists $x, y in mathbbZ$ such that $p = x^2 - 6y^2$.



      Show that $p equiv 1 or 19 mod24$.




      The fact that $p = x^2 - 6y^2$ implies that $left(frac6pright) = 1$ (Legendre symbol) and therefore $p equiv 1, 5, 19, 23 bmod24$, but I don't know how to continue.









      share|cite|improve this question












      share|cite|improve this question




      share|cite|improve this question








      edited Jul 16 at 15:10









      Robert Soupe

      10.1k21947




      10.1k21947









      asked Jul 14 at 14:06









      ned grekerzberg

      436218




      436218




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          If you know that $p equiv 1,5,19,23 pmod24$ are your only options you can exclude 5 and 23 by looking at the equation modulo 3. Since $3 nmid x$ you have $x equiv pm 1 pmod 3$ and thus $p equiv x^2 equiv 1 pmod 3$.






          share|cite|improve this answer





















          • first, welcome to the site and second, thank you very much (obviously i didn't thought about the question through) :-)
            – ned grekerzberg
            Jul 14 at 14:23










          • To be honest, I don't see why $p equiv 1,5,19,23 pmod24$ are the only options though.
            – L. Gitin
            Jul 14 at 14:25






          • 1




            $p=x^2-6y^2$ therefor $x^2 equiv 6y^2 mod(p)$ therefor $( frac6y^2p) = ( frac6p) ( fracy^2p) = ( frac6p) = 1$ (i'm refering to Legendre symbol) and it's known that $( frac6p) = 1 iff p equiv 1,5,19,23 mod24$
            – ned grekerzberg
            Jul 14 at 14:29











          • i hope that's more clear now
            – ned grekerzberg
            Jul 14 at 14:30






          • 1




            Just to flesh out the "it's known that" part of the reasoning: $left(frac2pright)=pm1$, so $left(frac4pright)=left(frac2pright)left(frac2pright)=1$, so $left(frac24pright)=left(frac4pright)left(frac6pright)=1$. The numbers whose squares are $1 mod24$ are $pm1,pm5$.
            – Keith Backman
            Jul 14 at 17:07











          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2851613%2fif-p-x2-6y2-is-a-prime-then-p-equiv-1-19-mod24%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          If you know that $p equiv 1,5,19,23 pmod24$ are your only options you can exclude 5 and 23 by looking at the equation modulo 3. Since $3 nmid x$ you have $x equiv pm 1 pmod 3$ and thus $p equiv x^2 equiv 1 pmod 3$.






          share|cite|improve this answer





















          • first, welcome to the site and second, thank you very much (obviously i didn't thought about the question through) :-)
            – ned grekerzberg
            Jul 14 at 14:23










          • To be honest, I don't see why $p equiv 1,5,19,23 pmod24$ are the only options though.
            – L. Gitin
            Jul 14 at 14:25






          • 1




            $p=x^2-6y^2$ therefor $x^2 equiv 6y^2 mod(p)$ therefor $( frac6y^2p) = ( frac6p) ( fracy^2p) = ( frac6p) = 1$ (i'm refering to Legendre symbol) and it's known that $( frac6p) = 1 iff p equiv 1,5,19,23 mod24$
            – ned grekerzberg
            Jul 14 at 14:29











          • i hope that's more clear now
            – ned grekerzberg
            Jul 14 at 14:30






          • 1




            Just to flesh out the "it's known that" part of the reasoning: $left(frac2pright)=pm1$, so $left(frac4pright)=left(frac2pright)left(frac2pright)=1$, so $left(frac24pright)=left(frac4pright)left(frac6pright)=1$. The numbers whose squares are $1 mod24$ are $pm1,pm5$.
            – Keith Backman
            Jul 14 at 17:07















          up vote
          3
          down vote



          accepted










          If you know that $p equiv 1,5,19,23 pmod24$ are your only options you can exclude 5 and 23 by looking at the equation modulo 3. Since $3 nmid x$ you have $x equiv pm 1 pmod 3$ and thus $p equiv x^2 equiv 1 pmod 3$.






          share|cite|improve this answer





















          • first, welcome to the site and second, thank you very much (obviously i didn't thought about the question through) :-)
            – ned grekerzberg
            Jul 14 at 14:23










          • To be honest, I don't see why $p equiv 1,5,19,23 pmod24$ are the only options though.
            – L. Gitin
            Jul 14 at 14:25






          • 1




            $p=x^2-6y^2$ therefor $x^2 equiv 6y^2 mod(p)$ therefor $( frac6y^2p) = ( frac6p) ( fracy^2p) = ( frac6p) = 1$ (i'm refering to Legendre symbol) and it's known that $( frac6p) = 1 iff p equiv 1,5,19,23 mod24$
            – ned grekerzberg
            Jul 14 at 14:29











          • i hope that's more clear now
            – ned grekerzberg
            Jul 14 at 14:30






          • 1




            Just to flesh out the "it's known that" part of the reasoning: $left(frac2pright)=pm1$, so $left(frac4pright)=left(frac2pright)left(frac2pright)=1$, so $left(frac24pright)=left(frac4pright)left(frac6pright)=1$. The numbers whose squares are $1 mod24$ are $pm1,pm5$.
            – Keith Backman
            Jul 14 at 17:07













          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          If you know that $p equiv 1,5,19,23 pmod24$ are your only options you can exclude 5 and 23 by looking at the equation modulo 3. Since $3 nmid x$ you have $x equiv pm 1 pmod 3$ and thus $p equiv x^2 equiv 1 pmod 3$.






          share|cite|improve this answer













          If you know that $p equiv 1,5,19,23 pmod24$ are your only options you can exclude 5 and 23 by looking at the equation modulo 3. Since $3 nmid x$ you have $x equiv pm 1 pmod 3$ and thus $p equiv x^2 equiv 1 pmod 3$.







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Jul 14 at 14:14









          L. Gitin

          584




          584











          • first, welcome to the site and second, thank you very much (obviously i didn't thought about the question through) :-)
            – ned grekerzberg
            Jul 14 at 14:23










          • To be honest, I don't see why $p equiv 1,5,19,23 pmod24$ are the only options though.
            – L. Gitin
            Jul 14 at 14:25






          • 1




            $p=x^2-6y^2$ therefor $x^2 equiv 6y^2 mod(p)$ therefor $( frac6y^2p) = ( frac6p) ( fracy^2p) = ( frac6p) = 1$ (i'm refering to Legendre symbol) and it's known that $( frac6p) = 1 iff p equiv 1,5,19,23 mod24$
            – ned grekerzberg
            Jul 14 at 14:29











          • i hope that's more clear now
            – ned grekerzberg
            Jul 14 at 14:30






          • 1




            Just to flesh out the "it's known that" part of the reasoning: $left(frac2pright)=pm1$, so $left(frac4pright)=left(frac2pright)left(frac2pright)=1$, so $left(frac24pright)=left(frac4pright)left(frac6pright)=1$. The numbers whose squares are $1 mod24$ are $pm1,pm5$.
            – Keith Backman
            Jul 14 at 17:07

















          • first, welcome to the site and second, thank you very much (obviously i didn't thought about the question through) :-)
            – ned grekerzberg
            Jul 14 at 14:23










          • To be honest, I don't see why $p equiv 1,5,19,23 pmod24$ are the only options though.
            – L. Gitin
            Jul 14 at 14:25






          • 1




            $p=x^2-6y^2$ therefor $x^2 equiv 6y^2 mod(p)$ therefor $( frac6y^2p) = ( frac6p) ( fracy^2p) = ( frac6p) = 1$ (i'm refering to Legendre symbol) and it's known that $( frac6p) = 1 iff p equiv 1,5,19,23 mod24$
            – ned grekerzberg
            Jul 14 at 14:29











          • i hope that's more clear now
            – ned grekerzberg
            Jul 14 at 14:30






          • 1




            Just to flesh out the "it's known that" part of the reasoning: $left(frac2pright)=pm1$, so $left(frac4pright)=left(frac2pright)left(frac2pright)=1$, so $left(frac24pright)=left(frac4pright)left(frac6pright)=1$. The numbers whose squares are $1 mod24$ are $pm1,pm5$.
            – Keith Backman
            Jul 14 at 17:07
















          first, welcome to the site and second, thank you very much (obviously i didn't thought about the question through) :-)
          – ned grekerzberg
          Jul 14 at 14:23




          first, welcome to the site and second, thank you very much (obviously i didn't thought about the question through) :-)
          – ned grekerzberg
          Jul 14 at 14:23












          To be honest, I don't see why $p equiv 1,5,19,23 pmod24$ are the only options though.
          – L. Gitin
          Jul 14 at 14:25




          To be honest, I don't see why $p equiv 1,5,19,23 pmod24$ are the only options though.
          – L. Gitin
          Jul 14 at 14:25




          1




          1




          $p=x^2-6y^2$ therefor $x^2 equiv 6y^2 mod(p)$ therefor $( frac6y^2p) = ( frac6p) ( fracy^2p) = ( frac6p) = 1$ (i'm refering to Legendre symbol) and it's known that $( frac6p) = 1 iff p equiv 1,5,19,23 mod24$
          – ned grekerzberg
          Jul 14 at 14:29





          $p=x^2-6y^2$ therefor $x^2 equiv 6y^2 mod(p)$ therefor $( frac6y^2p) = ( frac6p) ( fracy^2p) = ( frac6p) = 1$ (i'm refering to Legendre symbol) and it's known that $( frac6p) = 1 iff p equiv 1,5,19,23 mod24$
          – ned grekerzberg
          Jul 14 at 14:29













          i hope that's more clear now
          – ned grekerzberg
          Jul 14 at 14:30




          i hope that's more clear now
          – ned grekerzberg
          Jul 14 at 14:30




          1




          1




          Just to flesh out the "it's known that" part of the reasoning: $left(frac2pright)=pm1$, so $left(frac4pright)=left(frac2pright)left(frac2pright)=1$, so $left(frac24pright)=left(frac4pright)left(frac6pright)=1$. The numbers whose squares are $1 mod24$ are $pm1,pm5$.
          – Keith Backman
          Jul 14 at 17:07





          Just to flesh out the "it's known that" part of the reasoning: $left(frac2pright)=pm1$, so $left(frac4pright)=left(frac2pright)left(frac2pright)=1$, so $left(frac24pright)=left(frac4pright)left(frac6pright)=1$. The numbers whose squares are $1 mod24$ are $pm1,pm5$.
          – Keith Backman
          Jul 14 at 17:07













           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2851613%2fif-p-x2-6y2-is-a-prime-then-p-equiv-1-19-mod24%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?