{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $p$ be a [[prime number|0SN0MAEKYX]].\nThen the ring $\\mathbb{Z}/p\\mathbb{Z}$ of the [[integers modulo p|01N3AYAA6N]] is a field.\nThat is, each nonzero element of $\\mathbb{Z}/p\\mathbb{Z}$ has a multiplicative inverse.\n\n## Remarks\n\nThe proof: if $\\overline{a} \\neq \\overline{0}$, then $p \\nmid a$, so $\\gcd(a, p) = 1$. [[Bézout's identity|0DQVHMYAGA]] gives $a x + p y = 1$, and then $\\overline{a} \\cdot \\overline{x} = \\overline{1}$.\nThe converse holds: if $n \u003e 1$ is composite, with $n = a b$ and $1 \u003c a, b \u003c n$, then $\\overline{a} \\cdot \\overline{b} = \\overline{0}$, so $\\mathbb{Z}/n\\mathbb{Z}$ is not a field.\nThe field $\\mathbb{Z}/p\\mathbb{Z}$ is often written $\\mathbb{F}_p$ or $\\mathrm{GF}(p)$. It is the finite field with $p$ elements.\n\n## Explanations\n\n### L1 human\n\nModulo $7$, you can divide by each nonzero number. For example, $3 \\cdot 5 = 15 \\equiv 1 \\pmod 7$, so $5$ plays the part of $1/3$.\nModulo $6$ this fails: no number $x$ gives $2 x \\equiv 1 \\pmod 6$, because $2 x$ is always even.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "11A07"
    ],
    "name": "Integers modulo a prime form a field",
    "role": "theorem",
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Finite_field"
      }
    ],
    "tag": "0R8YXRC9AJ",
    "uses": [
      "01N3AYAA6N",
      "0SN0MAEKYX",
      "0DQVHMYAGA"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0R8YXRC9AJ/",
  "links": [
    {
      "field": "uses",
      "target": "01N3AYAA6N"
    },
    {
      "field": "uses",
      "target": "0SN0MAEKYX"
    },
    {
      "field": "uses",
      "target": "0DQVHMYAGA"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0R8YXRC9AJ.md",
  "msc": [
    "11A07"
  ],
  "name": "Integers modulo a prime form a field",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0R8/0R8YXRC9AJ.md",
  "status": null,
  "tag": "0R8YXRC9AJ",
  "uri": "m2://0R8YXRC9AJ",
  "url": "https://math2.tamnd.com/wiki/integers-modulo-a-prime-form-a-field/",
  "writing": {
    "tag": "0R8YXRC9AJ",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
