{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $p$ be a [[prime number|0SN0MAEKYX]].\nThen $p$ is a [[Gaussian prime|0GTEHJQRFK]] if and only if $p \\equiv 3 \\pmod 4$.\n\n## Remarks\n\nIf $p = 2$, then $2 = (1 + i)(1 - i)$, and $1 + i$ is a Gaussian prime.\nIf $p \\equiv 1 \\pmod 4$, then $p = a^2 + b^2 = (a + bi)(a - bi)$ by [[Fermat's theorem on sums of two squares|043B3ENSTY]], and $a \\pm bi$ are Gaussian primes.\nIf $p \\equiv 3 \\pmod 4$, then $p$ is not a sum of two squares. So no Gaussian integer has norm $p$, and $p$ cannot split.\nFor example, $3$ and $7$ are Gaussian primes, but $13 = (3 + 2i)(3 - 2i)$.\n\n## Explanations\n\n### L1 human\n\nAn ordinary prime stays prime among the Gaussian integers exactly when it leaves remainder $3$ on division by $4$.\nThe other primes factor, because they are sums of two squares.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11R11"
    ],
    "name": "A prime is a Gaussian prime if and only if it is 3 modulo 4",
    "role": "theorem",
    "sources": [
      {
        "locator": "Gaussian primes",
        "url": "https://en.wikipedia.org/wiki/Gaussian_integer"
      }
    ],
    "tag": "0WMJSEFYFE",
    "uses": [
      "0GTEHJQRFK",
      "0SN0MAEKYX",
      "043B3ENSTY"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0WMJSEFYFE/",
  "links": [
    {
      "field": "uses",
      "target": "0GTEHJQRFK"
    },
    {
      "field": "uses",
      "target": "0SN0MAEKYX"
    },
    {
      "field": "uses",
      "target": "043B3ENSTY"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0WMJSEFYFE.md",
  "msc": [
    "11R11"
  ],
  "name": "A prime is a Gaussian prime if and only if it is 3 modulo 4",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0WM/0WMJSEFYFE.md",
  "status": null,
  "tag": "0WMJSEFYFE",
  "uri": "m2://0WMJSEFYFE",
  "url": "https://math2.tamnd.com/wiki/a-prime-is-a-gaussian-prime-if-and-only-if-it-is-3-modulo-4/",
  "writing": {
    "tag": "0WMJSEFYFE",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
