Primes in $mathbb{Z}[sqrt{2}]$?












9












$begingroup$


It's a well known result that the gaussian primes $mathbb{Z}[i]$ can be characterized as normal primes $3 bmod 4$ or normal primes $3bmod 4$ times $i$. As well as $a+bi$ where $a,b$ are non-zero and $a^2 + b^2$ is prime.



How does one characterize the primes of the ring $mathbb{Z}[sqrt{2}]$? Or generally of $mathbb{Z}[sqrt{n}]$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    You need to be careful when $n$ is squarefree but congruent to $1bmod 4$, because then $mathbb{Z}[sqrt{n}]$ is not the “right:” ring to look at; in that situation, you want to look at $mathbb{Z}[frac{1+sqrt{n}}{2}]$.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:23










  • $begingroup$
    this comment seems loaded, its not clear to me what major property $mathbb{Z}[sqrt{5}]$ is lacking that say $mathbb{Z}[sqrt{2}]$ possesses. 5 is 1 mod 4 and square free.
    $endgroup$
    – frogeyedpeas
    Jan 5 at 1:26












  • $begingroup$
    $mathbb{Z}[sqrt{2}]$ is integrally closed in its field of fractions. $mathbb{Z}[sqrt{5}]$ is not. In particular, in $mathbb{Z}[sqrt{2}]$ you have unique factorization of ideals, but in $mathbb{Z}[sqrt{5}]$ you do not.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:27












  • $begingroup$
    “Loaded” suggests something less than honest (as in “loaded question”). If you mean, the comment seems to assume knowledge you don’t actually possess, then ask questions.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:28






  • 2




    $begingroup$
    This post answers your first question, no?
    $endgroup$
    – André 3000
    Jan 5 at 3:42
















9












$begingroup$


It's a well known result that the gaussian primes $mathbb{Z}[i]$ can be characterized as normal primes $3 bmod 4$ or normal primes $3bmod 4$ times $i$. As well as $a+bi$ where $a,b$ are non-zero and $a^2 + b^2$ is prime.



How does one characterize the primes of the ring $mathbb{Z}[sqrt{2}]$? Or generally of $mathbb{Z}[sqrt{n}]$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    You need to be careful when $n$ is squarefree but congruent to $1bmod 4$, because then $mathbb{Z}[sqrt{n}]$ is not the “right:” ring to look at; in that situation, you want to look at $mathbb{Z}[frac{1+sqrt{n}}{2}]$.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:23










  • $begingroup$
    this comment seems loaded, its not clear to me what major property $mathbb{Z}[sqrt{5}]$ is lacking that say $mathbb{Z}[sqrt{2}]$ possesses. 5 is 1 mod 4 and square free.
    $endgroup$
    – frogeyedpeas
    Jan 5 at 1:26












  • $begingroup$
    $mathbb{Z}[sqrt{2}]$ is integrally closed in its field of fractions. $mathbb{Z}[sqrt{5}]$ is not. In particular, in $mathbb{Z}[sqrt{2}]$ you have unique factorization of ideals, but in $mathbb{Z}[sqrt{5}]$ you do not.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:27












  • $begingroup$
    “Loaded” suggests something less than honest (as in “loaded question”). If you mean, the comment seems to assume knowledge you don’t actually possess, then ask questions.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:28






  • 2




    $begingroup$
    This post answers your first question, no?
    $endgroup$
    – André 3000
    Jan 5 at 3:42














9












9








9


3



$begingroup$


It's a well known result that the gaussian primes $mathbb{Z}[i]$ can be characterized as normal primes $3 bmod 4$ or normal primes $3bmod 4$ times $i$. As well as $a+bi$ where $a,b$ are non-zero and $a^2 + b^2$ is prime.



How does one characterize the primes of the ring $mathbb{Z}[sqrt{2}]$? Or generally of $mathbb{Z}[sqrt{n}]$?










share|cite|improve this question











$endgroup$




It's a well known result that the gaussian primes $mathbb{Z}[i]$ can be characterized as normal primes $3 bmod 4$ or normal primes $3bmod 4$ times $i$. As well as $a+bi$ where $a,b$ are non-zero and $a^2 + b^2$ is prime.



How does one characterize the primes of the ring $mathbb{Z}[sqrt{2}]$? Or generally of $mathbb{Z}[sqrt{n}]$?







abstract-algebra number-theory ring-theory algebraic-number-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 6 at 2:28









J. W. Tanner

4,4791320




4,4791320










asked Jan 5 at 0:59









frogeyedpeasfrogeyedpeas

7,69372054




7,69372054












  • $begingroup$
    You need to be careful when $n$ is squarefree but congruent to $1bmod 4$, because then $mathbb{Z}[sqrt{n}]$ is not the “right:” ring to look at; in that situation, you want to look at $mathbb{Z}[frac{1+sqrt{n}}{2}]$.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:23










  • $begingroup$
    this comment seems loaded, its not clear to me what major property $mathbb{Z}[sqrt{5}]$ is lacking that say $mathbb{Z}[sqrt{2}]$ possesses. 5 is 1 mod 4 and square free.
    $endgroup$
    – frogeyedpeas
    Jan 5 at 1:26












  • $begingroup$
    $mathbb{Z}[sqrt{2}]$ is integrally closed in its field of fractions. $mathbb{Z}[sqrt{5}]$ is not. In particular, in $mathbb{Z}[sqrt{2}]$ you have unique factorization of ideals, but in $mathbb{Z}[sqrt{5}]$ you do not.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:27












  • $begingroup$
    “Loaded” suggests something less than honest (as in “loaded question”). If you mean, the comment seems to assume knowledge you don’t actually possess, then ask questions.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:28






  • 2




    $begingroup$
    This post answers your first question, no?
    $endgroup$
    – André 3000
    Jan 5 at 3:42


















  • $begingroup$
    You need to be careful when $n$ is squarefree but congruent to $1bmod 4$, because then $mathbb{Z}[sqrt{n}]$ is not the “right:” ring to look at; in that situation, you want to look at $mathbb{Z}[frac{1+sqrt{n}}{2}]$.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:23










  • $begingroup$
    this comment seems loaded, its not clear to me what major property $mathbb{Z}[sqrt{5}]$ is lacking that say $mathbb{Z}[sqrt{2}]$ possesses. 5 is 1 mod 4 and square free.
    $endgroup$
    – frogeyedpeas
    Jan 5 at 1:26












  • $begingroup$
    $mathbb{Z}[sqrt{2}]$ is integrally closed in its field of fractions. $mathbb{Z}[sqrt{5}]$ is not. In particular, in $mathbb{Z}[sqrt{2}]$ you have unique factorization of ideals, but in $mathbb{Z}[sqrt{5}]$ you do not.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:27












  • $begingroup$
    “Loaded” suggests something less than honest (as in “loaded question”). If you mean, the comment seems to assume knowledge you don’t actually possess, then ask questions.
    $endgroup$
    – Arturo Magidin
    Jan 5 at 1:28






  • 2




    $begingroup$
    This post answers your first question, no?
    $endgroup$
    – André 3000
    Jan 5 at 3:42
















$begingroup$
You need to be careful when $n$ is squarefree but congruent to $1bmod 4$, because then $mathbb{Z}[sqrt{n}]$ is not the “right:” ring to look at; in that situation, you want to look at $mathbb{Z}[frac{1+sqrt{n}}{2}]$.
$endgroup$
– Arturo Magidin
Jan 5 at 1:23




$begingroup$
You need to be careful when $n$ is squarefree but congruent to $1bmod 4$, because then $mathbb{Z}[sqrt{n}]$ is not the “right:” ring to look at; in that situation, you want to look at $mathbb{Z}[frac{1+sqrt{n}}{2}]$.
$endgroup$
– Arturo Magidin
Jan 5 at 1:23












$begingroup$
this comment seems loaded, its not clear to me what major property $mathbb{Z}[sqrt{5}]$ is lacking that say $mathbb{Z}[sqrt{2}]$ possesses. 5 is 1 mod 4 and square free.
$endgroup$
– frogeyedpeas
Jan 5 at 1:26






$begingroup$
this comment seems loaded, its not clear to me what major property $mathbb{Z}[sqrt{5}]$ is lacking that say $mathbb{Z}[sqrt{2}]$ possesses. 5 is 1 mod 4 and square free.
$endgroup$
– frogeyedpeas
Jan 5 at 1:26














$begingroup$
$mathbb{Z}[sqrt{2}]$ is integrally closed in its field of fractions. $mathbb{Z}[sqrt{5}]$ is not. In particular, in $mathbb{Z}[sqrt{2}]$ you have unique factorization of ideals, but in $mathbb{Z}[sqrt{5}]$ you do not.
$endgroup$
– Arturo Magidin
Jan 5 at 1:27






$begingroup$
$mathbb{Z}[sqrt{2}]$ is integrally closed in its field of fractions. $mathbb{Z}[sqrt{5}]$ is not. In particular, in $mathbb{Z}[sqrt{2}]$ you have unique factorization of ideals, but in $mathbb{Z}[sqrt{5}]$ you do not.
$endgroup$
– Arturo Magidin
Jan 5 at 1:27














$begingroup$
“Loaded” suggests something less than honest (as in “loaded question”). If you mean, the comment seems to assume knowledge you don’t actually possess, then ask questions.
$endgroup$
– Arturo Magidin
Jan 5 at 1:28




$begingroup$
“Loaded” suggests something less than honest (as in “loaded question”). If you mean, the comment seems to assume knowledge you don’t actually possess, then ask questions.
$endgroup$
– Arturo Magidin
Jan 5 at 1:28




2




2




$begingroup$
This post answers your first question, no?
$endgroup$
– André 3000
Jan 5 at 3:42




$begingroup$
This post answers your first question, no?
$endgroup$
– André 3000
Jan 5 at 3:42










2 Answers
2






active

oldest

votes


















8












$begingroup$

That ring is a unique factorization domain. The primes are $sqrt{2}$, the rational primes congruent to $pm 3 pmod{8}$ and the two factors of each of the rational primes congruent to $pm 1 pmod{8}$. Those rational primes factor precisely because they have $2$ as a quadratic residue and therefore the ones that can be written as a difference
$$
p = x^2 - 2y^2 = (x + ysqrt{2}) (x - ysqrt{2}) .
$$

So, for example, the prime factorization of $7$ is
$$
7 = (3 + sqrt{2}) (3 - sqrt{2}) .
$$



This idea generalizes straightforwardly when the ring happens to enjoy unique factorization (which is rare). It gets a lot more complicated in general.



You can read all about the uncomplicated cases in
Elementary Number Theory: An Algebraic Approach.






share|cite|improve this answer











$endgroup$





















    3












    $begingroup$

    The very first thing to note is that 2 is not prime in this ring since $(sqrt 2)^2 = 2$. Neither is $-2$, since $(-1)(sqrt 2)^2 = -2$. Likewise 2 is not prime in $mathbb Z[sqrt{-2}]$, since $(-1)(sqrt{-2})^2 = -2$.In both rings, 2 is said to "ramify," which is the case since it's a multiple of the radicand; trivial multiples are okay here. (By the way, 2 is not prime in $mathbb Z[i]$ either, since $(1 - i)(1 + i) = 2$, and it's also ramified in that domain, but it won't be until you understand ideals that that will make any sense).



    Next we look at the odd primes. Suppose $p$ is a positive odd prime. Then, using the Legendre symbol, if $$left(frac{2}{p}right) = -1,$$ the equation $x^2 equiv 2 pmod p$ has no solutions in integers, and then neither does $x^2 - 2y^2 = pm p$.



    But if instead $$left(frac{2}{p}right) = 1,$$ the equation $x^2 equiv 2 pmod p$ does have solutions in integers, and hopefully so does $x^2 - 2y^2 = pm p$ (actually, it always does, but it might not if instead we were looking for something like $x^2 - 10y^2 = pm p$ with the corresponding Legendre symbol of 1).



    Since $$left(frac{2}{p}right) = 2^{frac{p - 1}{2}} pmod p,$$ we can further determine $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}}.$$ So if $p equiv 1, 7, 9, 15 pmod{16}$, it follows that $p^2 - 1$ is a multiple of 16 and so $$frac{p^2 - 1}{8}$$ is even and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = 1.$$



    Contrast that to $p equiv 3, 5, 11, 13 pmod{16}$. Then $p^2 equiv 9 pmod{16}$ and so $$frac{p^2 - 1}{8}$$ is odd and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = -1.$$



    If the Legendre symbol tells us that $x^2 equiv 2 pmod p$ has solutions, then the least positive $x$ will give us a number $x + sqrt 2$ such that $(x - sqrt 2)(x + sqrt 2) = mp$. Sometimes $m = 1$, in which case we're done, as in the example of 7 Ethan Bolker gave in his answer.



    In this domain we won't have to worry about $m$ being negative, but it could be greater than 1. For example, $$left(frac{2}{17}right) = 1$$ and the least solution to $x^2 equiv 2 pmod{17}$ is $x = 6$, but $(6 - sqrt 2)(6 + sqrt 2) = 34$, not 17. Not to worry, though: $$frac{6 + sqrt 2}{sqrt 2} = 1 + 3 sqrt 2,$$ and $(-1)(1 - 3 sqrt 2)(1 + 3 sqrt 2) = 17.$



    Primes like 7 and 17 are said to "split" in this domain (they are composite and "split" into two prime factors), while primes like 3 and 13 are said to remain "inert."



    One nice thing about $mathbb Z[sqrt 2]$ is that the fundamental unit, $1 + sqrt 2$, has a norm of $-1$. But if the fundamental unit instead has norm 1, we have to watch out for the possibility that the Legendre symbol tells us $p$ splits yet $(x - sqrt d)(x + sqrt d) = p$ is insoluble. If such a domain is a unique factorization domain, then we can still count on $(x - sqrt d)(x + sqrt d) = -p$ being soluble.



    Such is the case in $mathbb Z[sqrt 3]$, in which domain the fundamental unit is $2 + sqrt 3$, which has norm 1, not $-1$. We see that $$left(frac{3}{11}right) = 3^{frac{11 - 1}{5}} = 1 pmod{11}.$$ Then we find the least positive $x$ to solve $x^2 equiv 3 pmod{11}$ is $x = 5$, which gives us $(5 - sqrt 3)(5 + sqrt 3) = 22$.



    Since 22 is not divisible by 3, we can't divide $5 pm sqrt 3$ by $sqrt 3$, so now we have to divide it by a factor of 2. So as to not make this longer than it already is, please accept it on my say so that we need to divide by $1 + sqrt 3$. Thus we get $$frac{5 + sqrt 3}{1 + sqrt 3} = -1 + 2 sqrt 3$$ and $(-1 - 2 sqrt 3)(-1 + 2 sqrt 3) = -11$. The factorization of 11 is therefore $(-1)(1 - 2 sqrt 3)(1 + 2 sqrt 3)$.



    In this domain 3 is a ramifying prime. As it turns out, 2 is also ramifying, but again, you'll need to understand ideals to wrap your head around that.



    Also, you will need the Kronecker symbol in addition to the Legendre symbol to help you factorize 2. The Legendre symbol will be a trusty tool for the odd primes.



    This is a very deep and interesting topic, and I could go on and on about it. I hope that this is sufficient to guide the next step of your study.






    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%2f3062306%2fprimes-in-mathbbz-sqrt2%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      8












      $begingroup$

      That ring is a unique factorization domain. The primes are $sqrt{2}$, the rational primes congruent to $pm 3 pmod{8}$ and the two factors of each of the rational primes congruent to $pm 1 pmod{8}$. Those rational primes factor precisely because they have $2$ as a quadratic residue and therefore the ones that can be written as a difference
      $$
      p = x^2 - 2y^2 = (x + ysqrt{2}) (x - ysqrt{2}) .
      $$

      So, for example, the prime factorization of $7$ is
      $$
      7 = (3 + sqrt{2}) (3 - sqrt{2}) .
      $$



      This idea generalizes straightforwardly when the ring happens to enjoy unique factorization (which is rare). It gets a lot more complicated in general.



      You can read all about the uncomplicated cases in
      Elementary Number Theory: An Algebraic Approach.






      share|cite|improve this answer











      $endgroup$


















        8












        $begingroup$

        That ring is a unique factorization domain. The primes are $sqrt{2}$, the rational primes congruent to $pm 3 pmod{8}$ and the two factors of each of the rational primes congruent to $pm 1 pmod{8}$. Those rational primes factor precisely because they have $2$ as a quadratic residue and therefore the ones that can be written as a difference
        $$
        p = x^2 - 2y^2 = (x + ysqrt{2}) (x - ysqrt{2}) .
        $$

        So, for example, the prime factorization of $7$ is
        $$
        7 = (3 + sqrt{2}) (3 - sqrt{2}) .
        $$



        This idea generalizes straightforwardly when the ring happens to enjoy unique factorization (which is rare). It gets a lot more complicated in general.



        You can read all about the uncomplicated cases in
        Elementary Number Theory: An Algebraic Approach.






        share|cite|improve this answer











        $endgroup$
















          8












          8








          8





          $begingroup$

          That ring is a unique factorization domain. The primes are $sqrt{2}$, the rational primes congruent to $pm 3 pmod{8}$ and the two factors of each of the rational primes congruent to $pm 1 pmod{8}$. Those rational primes factor precisely because they have $2$ as a quadratic residue and therefore the ones that can be written as a difference
          $$
          p = x^2 - 2y^2 = (x + ysqrt{2}) (x - ysqrt{2}) .
          $$

          So, for example, the prime factorization of $7$ is
          $$
          7 = (3 + sqrt{2}) (3 - sqrt{2}) .
          $$



          This idea generalizes straightforwardly when the ring happens to enjoy unique factorization (which is rare). It gets a lot more complicated in general.



          You can read all about the uncomplicated cases in
          Elementary Number Theory: An Algebraic Approach.






          share|cite|improve this answer











          $endgroup$



          That ring is a unique factorization domain. The primes are $sqrt{2}$, the rational primes congruent to $pm 3 pmod{8}$ and the two factors of each of the rational primes congruent to $pm 1 pmod{8}$. Those rational primes factor precisely because they have $2$ as a quadratic residue and therefore the ones that can be written as a difference
          $$
          p = x^2 - 2y^2 = (x + ysqrt{2}) (x - ysqrt{2}) .
          $$

          So, for example, the prime factorization of $7$ is
          $$
          7 = (3 + sqrt{2}) (3 - sqrt{2}) .
          $$



          This idea generalizes straightforwardly when the ring happens to enjoy unique factorization (which is rare). It gets a lot more complicated in general.



          You can read all about the uncomplicated cases in
          Elementary Number Theory: An Algebraic Approach.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 5 at 1:46

























          answered Jan 5 at 1:26









          Ethan BolkerEthan Bolker

          45.6k553120




          45.6k553120























              3












              $begingroup$

              The very first thing to note is that 2 is not prime in this ring since $(sqrt 2)^2 = 2$. Neither is $-2$, since $(-1)(sqrt 2)^2 = -2$. Likewise 2 is not prime in $mathbb Z[sqrt{-2}]$, since $(-1)(sqrt{-2})^2 = -2$.In both rings, 2 is said to "ramify," which is the case since it's a multiple of the radicand; trivial multiples are okay here. (By the way, 2 is not prime in $mathbb Z[i]$ either, since $(1 - i)(1 + i) = 2$, and it's also ramified in that domain, but it won't be until you understand ideals that that will make any sense).



              Next we look at the odd primes. Suppose $p$ is a positive odd prime. Then, using the Legendre symbol, if $$left(frac{2}{p}right) = -1,$$ the equation $x^2 equiv 2 pmod p$ has no solutions in integers, and then neither does $x^2 - 2y^2 = pm p$.



              But if instead $$left(frac{2}{p}right) = 1,$$ the equation $x^2 equiv 2 pmod p$ does have solutions in integers, and hopefully so does $x^2 - 2y^2 = pm p$ (actually, it always does, but it might not if instead we were looking for something like $x^2 - 10y^2 = pm p$ with the corresponding Legendre symbol of 1).



              Since $$left(frac{2}{p}right) = 2^{frac{p - 1}{2}} pmod p,$$ we can further determine $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}}.$$ So if $p equiv 1, 7, 9, 15 pmod{16}$, it follows that $p^2 - 1$ is a multiple of 16 and so $$frac{p^2 - 1}{8}$$ is even and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = 1.$$



              Contrast that to $p equiv 3, 5, 11, 13 pmod{16}$. Then $p^2 equiv 9 pmod{16}$ and so $$frac{p^2 - 1}{8}$$ is odd and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = -1.$$



              If the Legendre symbol tells us that $x^2 equiv 2 pmod p$ has solutions, then the least positive $x$ will give us a number $x + sqrt 2$ such that $(x - sqrt 2)(x + sqrt 2) = mp$. Sometimes $m = 1$, in which case we're done, as in the example of 7 Ethan Bolker gave in his answer.



              In this domain we won't have to worry about $m$ being negative, but it could be greater than 1. For example, $$left(frac{2}{17}right) = 1$$ and the least solution to $x^2 equiv 2 pmod{17}$ is $x = 6$, but $(6 - sqrt 2)(6 + sqrt 2) = 34$, not 17. Not to worry, though: $$frac{6 + sqrt 2}{sqrt 2} = 1 + 3 sqrt 2,$$ and $(-1)(1 - 3 sqrt 2)(1 + 3 sqrt 2) = 17.$



              Primes like 7 and 17 are said to "split" in this domain (they are composite and "split" into two prime factors), while primes like 3 and 13 are said to remain "inert."



              One nice thing about $mathbb Z[sqrt 2]$ is that the fundamental unit, $1 + sqrt 2$, has a norm of $-1$. But if the fundamental unit instead has norm 1, we have to watch out for the possibility that the Legendre symbol tells us $p$ splits yet $(x - sqrt d)(x + sqrt d) = p$ is insoluble. If such a domain is a unique factorization domain, then we can still count on $(x - sqrt d)(x + sqrt d) = -p$ being soluble.



              Such is the case in $mathbb Z[sqrt 3]$, in which domain the fundamental unit is $2 + sqrt 3$, which has norm 1, not $-1$. We see that $$left(frac{3}{11}right) = 3^{frac{11 - 1}{5}} = 1 pmod{11}.$$ Then we find the least positive $x$ to solve $x^2 equiv 3 pmod{11}$ is $x = 5$, which gives us $(5 - sqrt 3)(5 + sqrt 3) = 22$.



              Since 22 is not divisible by 3, we can't divide $5 pm sqrt 3$ by $sqrt 3$, so now we have to divide it by a factor of 2. So as to not make this longer than it already is, please accept it on my say so that we need to divide by $1 + sqrt 3$. Thus we get $$frac{5 + sqrt 3}{1 + sqrt 3} = -1 + 2 sqrt 3$$ and $(-1 - 2 sqrt 3)(-1 + 2 sqrt 3) = -11$. The factorization of 11 is therefore $(-1)(1 - 2 sqrt 3)(1 + 2 sqrt 3)$.



              In this domain 3 is a ramifying prime. As it turns out, 2 is also ramifying, but again, you'll need to understand ideals to wrap your head around that.



              Also, you will need the Kronecker symbol in addition to the Legendre symbol to help you factorize 2. The Legendre symbol will be a trusty tool for the odd primes.



              This is a very deep and interesting topic, and I could go on and on about it. I hope that this is sufficient to guide the next step of your study.






              share|cite|improve this answer









              $endgroup$


















                3












                $begingroup$

                The very first thing to note is that 2 is not prime in this ring since $(sqrt 2)^2 = 2$. Neither is $-2$, since $(-1)(sqrt 2)^2 = -2$. Likewise 2 is not prime in $mathbb Z[sqrt{-2}]$, since $(-1)(sqrt{-2})^2 = -2$.In both rings, 2 is said to "ramify," which is the case since it's a multiple of the radicand; trivial multiples are okay here. (By the way, 2 is not prime in $mathbb Z[i]$ either, since $(1 - i)(1 + i) = 2$, and it's also ramified in that domain, but it won't be until you understand ideals that that will make any sense).



                Next we look at the odd primes. Suppose $p$ is a positive odd prime. Then, using the Legendre symbol, if $$left(frac{2}{p}right) = -1,$$ the equation $x^2 equiv 2 pmod p$ has no solutions in integers, and then neither does $x^2 - 2y^2 = pm p$.



                But if instead $$left(frac{2}{p}right) = 1,$$ the equation $x^2 equiv 2 pmod p$ does have solutions in integers, and hopefully so does $x^2 - 2y^2 = pm p$ (actually, it always does, but it might not if instead we were looking for something like $x^2 - 10y^2 = pm p$ with the corresponding Legendre symbol of 1).



                Since $$left(frac{2}{p}right) = 2^{frac{p - 1}{2}} pmod p,$$ we can further determine $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}}.$$ So if $p equiv 1, 7, 9, 15 pmod{16}$, it follows that $p^2 - 1$ is a multiple of 16 and so $$frac{p^2 - 1}{8}$$ is even and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = 1.$$



                Contrast that to $p equiv 3, 5, 11, 13 pmod{16}$. Then $p^2 equiv 9 pmod{16}$ and so $$frac{p^2 - 1}{8}$$ is odd and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = -1.$$



                If the Legendre symbol tells us that $x^2 equiv 2 pmod p$ has solutions, then the least positive $x$ will give us a number $x + sqrt 2$ such that $(x - sqrt 2)(x + sqrt 2) = mp$. Sometimes $m = 1$, in which case we're done, as in the example of 7 Ethan Bolker gave in his answer.



                In this domain we won't have to worry about $m$ being negative, but it could be greater than 1. For example, $$left(frac{2}{17}right) = 1$$ and the least solution to $x^2 equiv 2 pmod{17}$ is $x = 6$, but $(6 - sqrt 2)(6 + sqrt 2) = 34$, not 17. Not to worry, though: $$frac{6 + sqrt 2}{sqrt 2} = 1 + 3 sqrt 2,$$ and $(-1)(1 - 3 sqrt 2)(1 + 3 sqrt 2) = 17.$



                Primes like 7 and 17 are said to "split" in this domain (they are composite and "split" into two prime factors), while primes like 3 and 13 are said to remain "inert."



                One nice thing about $mathbb Z[sqrt 2]$ is that the fundamental unit, $1 + sqrt 2$, has a norm of $-1$. But if the fundamental unit instead has norm 1, we have to watch out for the possibility that the Legendre symbol tells us $p$ splits yet $(x - sqrt d)(x + sqrt d) = p$ is insoluble. If such a domain is a unique factorization domain, then we can still count on $(x - sqrt d)(x + sqrt d) = -p$ being soluble.



                Such is the case in $mathbb Z[sqrt 3]$, in which domain the fundamental unit is $2 + sqrt 3$, which has norm 1, not $-1$. We see that $$left(frac{3}{11}right) = 3^{frac{11 - 1}{5}} = 1 pmod{11}.$$ Then we find the least positive $x$ to solve $x^2 equiv 3 pmod{11}$ is $x = 5$, which gives us $(5 - sqrt 3)(5 + sqrt 3) = 22$.



                Since 22 is not divisible by 3, we can't divide $5 pm sqrt 3$ by $sqrt 3$, so now we have to divide it by a factor of 2. So as to not make this longer than it already is, please accept it on my say so that we need to divide by $1 + sqrt 3$. Thus we get $$frac{5 + sqrt 3}{1 + sqrt 3} = -1 + 2 sqrt 3$$ and $(-1 - 2 sqrt 3)(-1 + 2 sqrt 3) = -11$. The factorization of 11 is therefore $(-1)(1 - 2 sqrt 3)(1 + 2 sqrt 3)$.



                In this domain 3 is a ramifying prime. As it turns out, 2 is also ramifying, but again, you'll need to understand ideals to wrap your head around that.



                Also, you will need the Kronecker symbol in addition to the Legendre symbol to help you factorize 2. The Legendre symbol will be a trusty tool for the odd primes.



                This is a very deep and interesting topic, and I could go on and on about it. I hope that this is sufficient to guide the next step of your study.






                share|cite|improve this answer









                $endgroup$
















                  3












                  3








                  3





                  $begingroup$

                  The very first thing to note is that 2 is not prime in this ring since $(sqrt 2)^2 = 2$. Neither is $-2$, since $(-1)(sqrt 2)^2 = -2$. Likewise 2 is not prime in $mathbb Z[sqrt{-2}]$, since $(-1)(sqrt{-2})^2 = -2$.In both rings, 2 is said to "ramify," which is the case since it's a multiple of the radicand; trivial multiples are okay here. (By the way, 2 is not prime in $mathbb Z[i]$ either, since $(1 - i)(1 + i) = 2$, and it's also ramified in that domain, but it won't be until you understand ideals that that will make any sense).



                  Next we look at the odd primes. Suppose $p$ is a positive odd prime. Then, using the Legendre symbol, if $$left(frac{2}{p}right) = -1,$$ the equation $x^2 equiv 2 pmod p$ has no solutions in integers, and then neither does $x^2 - 2y^2 = pm p$.



                  But if instead $$left(frac{2}{p}right) = 1,$$ the equation $x^2 equiv 2 pmod p$ does have solutions in integers, and hopefully so does $x^2 - 2y^2 = pm p$ (actually, it always does, but it might not if instead we were looking for something like $x^2 - 10y^2 = pm p$ with the corresponding Legendre symbol of 1).



                  Since $$left(frac{2}{p}right) = 2^{frac{p - 1}{2}} pmod p,$$ we can further determine $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}}.$$ So if $p equiv 1, 7, 9, 15 pmod{16}$, it follows that $p^2 - 1$ is a multiple of 16 and so $$frac{p^2 - 1}{8}$$ is even and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = 1.$$



                  Contrast that to $p equiv 3, 5, 11, 13 pmod{16}$. Then $p^2 equiv 9 pmod{16}$ and so $$frac{p^2 - 1}{8}$$ is odd and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = -1.$$



                  If the Legendre symbol tells us that $x^2 equiv 2 pmod p$ has solutions, then the least positive $x$ will give us a number $x + sqrt 2$ such that $(x - sqrt 2)(x + sqrt 2) = mp$. Sometimes $m = 1$, in which case we're done, as in the example of 7 Ethan Bolker gave in his answer.



                  In this domain we won't have to worry about $m$ being negative, but it could be greater than 1. For example, $$left(frac{2}{17}right) = 1$$ and the least solution to $x^2 equiv 2 pmod{17}$ is $x = 6$, but $(6 - sqrt 2)(6 + sqrt 2) = 34$, not 17. Not to worry, though: $$frac{6 + sqrt 2}{sqrt 2} = 1 + 3 sqrt 2,$$ and $(-1)(1 - 3 sqrt 2)(1 + 3 sqrt 2) = 17.$



                  Primes like 7 and 17 are said to "split" in this domain (they are composite and "split" into two prime factors), while primes like 3 and 13 are said to remain "inert."



                  One nice thing about $mathbb Z[sqrt 2]$ is that the fundamental unit, $1 + sqrt 2$, has a norm of $-1$. But if the fundamental unit instead has norm 1, we have to watch out for the possibility that the Legendre symbol tells us $p$ splits yet $(x - sqrt d)(x + sqrt d) = p$ is insoluble. If such a domain is a unique factorization domain, then we can still count on $(x - sqrt d)(x + sqrt d) = -p$ being soluble.



                  Such is the case in $mathbb Z[sqrt 3]$, in which domain the fundamental unit is $2 + sqrt 3$, which has norm 1, not $-1$. We see that $$left(frac{3}{11}right) = 3^{frac{11 - 1}{5}} = 1 pmod{11}.$$ Then we find the least positive $x$ to solve $x^2 equiv 3 pmod{11}$ is $x = 5$, which gives us $(5 - sqrt 3)(5 + sqrt 3) = 22$.



                  Since 22 is not divisible by 3, we can't divide $5 pm sqrt 3$ by $sqrt 3$, so now we have to divide it by a factor of 2. So as to not make this longer than it already is, please accept it on my say so that we need to divide by $1 + sqrt 3$. Thus we get $$frac{5 + sqrt 3}{1 + sqrt 3} = -1 + 2 sqrt 3$$ and $(-1 - 2 sqrt 3)(-1 + 2 sqrt 3) = -11$. The factorization of 11 is therefore $(-1)(1 - 2 sqrt 3)(1 + 2 sqrt 3)$.



                  In this domain 3 is a ramifying prime. As it turns out, 2 is also ramifying, but again, you'll need to understand ideals to wrap your head around that.



                  Also, you will need the Kronecker symbol in addition to the Legendre symbol to help you factorize 2. The Legendre symbol will be a trusty tool for the odd primes.



                  This is a very deep and interesting topic, and I could go on and on about it. I hope that this is sufficient to guide the next step of your study.






                  share|cite|improve this answer









                  $endgroup$



                  The very first thing to note is that 2 is not prime in this ring since $(sqrt 2)^2 = 2$. Neither is $-2$, since $(-1)(sqrt 2)^2 = -2$. Likewise 2 is not prime in $mathbb Z[sqrt{-2}]$, since $(-1)(sqrt{-2})^2 = -2$.In both rings, 2 is said to "ramify," which is the case since it's a multiple of the radicand; trivial multiples are okay here. (By the way, 2 is not prime in $mathbb Z[i]$ either, since $(1 - i)(1 + i) = 2$, and it's also ramified in that domain, but it won't be until you understand ideals that that will make any sense).



                  Next we look at the odd primes. Suppose $p$ is a positive odd prime. Then, using the Legendre symbol, if $$left(frac{2}{p}right) = -1,$$ the equation $x^2 equiv 2 pmod p$ has no solutions in integers, and then neither does $x^2 - 2y^2 = pm p$.



                  But if instead $$left(frac{2}{p}right) = 1,$$ the equation $x^2 equiv 2 pmod p$ does have solutions in integers, and hopefully so does $x^2 - 2y^2 = pm p$ (actually, it always does, but it might not if instead we were looking for something like $x^2 - 10y^2 = pm p$ with the corresponding Legendre symbol of 1).



                  Since $$left(frac{2}{p}right) = 2^{frac{p - 1}{2}} pmod p,$$ we can further determine $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}}.$$ So if $p equiv 1, 7, 9, 15 pmod{16}$, it follows that $p^2 - 1$ is a multiple of 16 and so $$frac{p^2 - 1}{8}$$ is even and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = 1.$$



                  Contrast that to $p equiv 3, 5, 11, 13 pmod{16}$. Then $p^2 equiv 9 pmod{16}$ and so $$frac{p^2 - 1}{8}$$ is odd and therefore $$left(frac{2}{p}right) = (-1)^{frac{p^2 - 1}{8}} = -1.$$



                  If the Legendre symbol tells us that $x^2 equiv 2 pmod p$ has solutions, then the least positive $x$ will give us a number $x + sqrt 2$ such that $(x - sqrt 2)(x + sqrt 2) = mp$. Sometimes $m = 1$, in which case we're done, as in the example of 7 Ethan Bolker gave in his answer.



                  In this domain we won't have to worry about $m$ being negative, but it could be greater than 1. For example, $$left(frac{2}{17}right) = 1$$ and the least solution to $x^2 equiv 2 pmod{17}$ is $x = 6$, but $(6 - sqrt 2)(6 + sqrt 2) = 34$, not 17. Not to worry, though: $$frac{6 + sqrt 2}{sqrt 2} = 1 + 3 sqrt 2,$$ and $(-1)(1 - 3 sqrt 2)(1 + 3 sqrt 2) = 17.$



                  Primes like 7 and 17 are said to "split" in this domain (they are composite and "split" into two prime factors), while primes like 3 and 13 are said to remain "inert."



                  One nice thing about $mathbb Z[sqrt 2]$ is that the fundamental unit, $1 + sqrt 2$, has a norm of $-1$. But if the fundamental unit instead has norm 1, we have to watch out for the possibility that the Legendre symbol tells us $p$ splits yet $(x - sqrt d)(x + sqrt d) = p$ is insoluble. If such a domain is a unique factorization domain, then we can still count on $(x - sqrt d)(x + sqrt d) = -p$ being soluble.



                  Such is the case in $mathbb Z[sqrt 3]$, in which domain the fundamental unit is $2 + sqrt 3$, which has norm 1, not $-1$. We see that $$left(frac{3}{11}right) = 3^{frac{11 - 1}{5}} = 1 pmod{11}.$$ Then we find the least positive $x$ to solve $x^2 equiv 3 pmod{11}$ is $x = 5$, which gives us $(5 - sqrt 3)(5 + sqrt 3) = 22$.



                  Since 22 is not divisible by 3, we can't divide $5 pm sqrt 3$ by $sqrt 3$, so now we have to divide it by a factor of 2. So as to not make this longer than it already is, please accept it on my say so that we need to divide by $1 + sqrt 3$. Thus we get $$frac{5 + sqrt 3}{1 + sqrt 3} = -1 + 2 sqrt 3$$ and $(-1 - 2 sqrt 3)(-1 + 2 sqrt 3) = -11$. The factorization of 11 is therefore $(-1)(1 - 2 sqrt 3)(1 + 2 sqrt 3)$.



                  In this domain 3 is a ramifying prime. As it turns out, 2 is also ramifying, but again, you'll need to understand ideals to wrap your head around that.



                  Also, you will need the Kronecker symbol in addition to the Legendre symbol to help you factorize 2. The Legendre symbol will be a trusty tool for the odd primes.



                  This is a very deep and interesting topic, and I could go on and on about it. I hope that this is sufficient to guide the next step of your study.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jan 5 at 18:48









                  Robert SoupeRobert Soupe

                  11.5k21950




                  11.5k21950






























                      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%2f3062306%2fprimes-in-mathbbz-sqrt2%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

                      How do I know what Microsoft account the skydrive app is syncing to?

                      When does type information flow backwards in C++?

                      Grease: Live!