{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "03AN1V4ZFJ"
    },
    {
      "field": "uses",
      "target": "06RH4XAGRY"
    },
    {
      "field": "uses",
      "target": "0PN13BB7BT"
    }
  ],
  "body": "\n## Description\n\nThe ring of Gaussian integers is\n$$\\mathbb{Z}[i] = \\{a + b i : a, b \\in \\mathbb{Z}\\},$$\nwhere $i \\in \\mathbb{C}$ satisfies $i^2 = -1$.\nIt is a [[subring|0859D58WPD]] of $\\mathbb{C}$, with $(a + b i)(c + d i) = (a c - b d) + (a d + b c) i$.\nAs a subring of a field, it is an [[integral domain|09S3PFBEPM]].\n\n## Remarks\n\nThe [[norm|03AN1V4ZFJ]] $N(a + b i) = a^2 + b^2$ is multiplicative.\nThe [[units of $\\mathbb{Z}[i]$|06RH4XAGRY]] are $1, -1, i, -i$.\nThe ring $\\mathbb{Z}[i]$ is a [[Euclidean domain|0PN13BB7BT]], so it has unique factorization.\nA prime number $p$ is a sum of two squares if and only if $p$ is not prime in $\\mathbb{Z}[i]$. This holds exactly for $p = 2$ and the primes $p \\equiv 1 \\pmod 4$.\n\n## Explanations\n\n### L1 human\n\nThe Gaussian integers are the points with integer coordinates in the complex plane.\nYou add and multiply them as complex numbers.\nThey form a ring with a theory of primes and factorization, like the integers.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "instance_of": [
      "0CHS7RBD39"
    ],
    "kind": "object",
    "msc": [
      "11R11"
    ],
    "name": "Gaussian integers",
    "same_as": {
      "wikidata": "Q724975",
      "wikipedia": "Gaussian integer"
    },
    "sources": [
      {
        "locator": "Basic definitions",
        "url": "https://en.wikipedia.org/wiki/Gaussian_integer"
      }
    ],
    "tag": "0K5W69AC0J",
    "uses": [
      "0859D58WPD",
      "09S3PFBEPM"
    ]
  },
  "kind": "object",
  "link": "https://math2.tamnd.com/node/0K5W69AC0J/",
  "links": [
    {
      "field": "instance_of",
      "target": "0CHS7RBD39"
    },
    {
      "field": "uses",
      "target": "0859D58WPD"
    },
    {
      "field": "uses",
      "target": "09S3PFBEPM"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0K5W69AC0J.md",
  "msc": [
    "11R11"
  ],
  "name": "Gaussian integers",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0K5/0K5W69AC0J.md",
  "status": null,
  "tag": "0K5W69AC0J",
  "uri": "m2://0K5W69AC0J",
  "url": "https://math2.tamnd.com/wiki/gaussian-integers/",
  "writing": {
    "tag": "0K5W69AC0J",
    "kind": "object",
    "level": "W1",
    "next": [
      {
        "what": "section Invariants",
        "note": "a table of the main invariants",
        "have": 0,
        "want": 1
      }
    ]
  }
}
