{
  "aliases": [
    "congruence",
    "modular-congruence"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "00FWBN7F0Y"
    },
    {
      "field": "uses",
      "target": "00GXTQMY8Z"
    },
    {
      "field": "uses",
      "target": "010QVB71T2"
    },
    {
      "field": "uses",
      "target": "02M2K4QH9P"
    },
    {
      "field": "uses",
      "target": "03KGGKTB2E"
    },
    {
      "field": "uses",
      "target": "061BTYA0RN"
    },
    {
      "field": "uses",
      "target": "072D5G4SK6"
    },
    {
      "field": "uses",
      "target": "07HXA8KV6F"
    },
    {
      "field": "uses",
      "target": "09RDZZGJZ9"
    },
    {
      "field": "uses",
      "target": "09YBMJTNBM"
    },
    {
      "field": "uses",
      "target": "0ESHD7ZQDX"
    },
    {
      "field": "uses",
      "target": "0FNN9B4W64"
    },
    {
      "field": "uses",
      "target": "0J5VGJYYC3"
    },
    {
      "field": "uses",
      "target": "0M25PRN3WQ"
    },
    {
      "field": "uses",
      "target": "0QRV8FPK5M"
    },
    {
      "field": "uses",
      "target": "0R9D4CEJEB"
    },
    {
      "field": "uses",
      "target": "0RY4GGMEQG"
    },
    {
      "field": "uses",
      "target": "0SBRX5CZ5R"
    },
    {
      "field": "uses",
      "target": "0SQDB87Z3T"
    },
    {
      "field": "uses",
      "target": "0T1BSD7H3M"
    },
    {
      "field": "uses",
      "target": "0VC4DVE7DQ"
    }
  ],
  "body": "\n## Definition\n\nLet $n$ be a positive integer, and let $a$ and $b$ be integers.\nThe integer $a$ is congruent to $b$ modulo $n$ when $n$ [[divides|096PW7Q014]] $a - b$.\nThe notation is $a \\equiv b \\pmod{n}$. The integer $n$ is the modulus of the congruence.\n\n## Remarks\n\nEquivalently, $a \\equiv b \\pmod n$ if and only if $a$ and $b$ have the same remainder on division by $n$, that is, $a \\bmod n = b \\bmod n$.\nCongruence modulo $n$ is an equivalence relation on the integers. Its classes are the [[residue classes|0QRV8FPK5M]] modulo $n$.\nFor example, $38 \\equiv 14 \\pmod{12}$, because $12 \\mid 24$.\nSome texts allow each integer $n$ as a modulus. Then congruence modulo $0$ is equality, and congruence modulo $-n$ is congruence modulo $n$.\n\n## Explanations\n\n### L1 human\n\nTwo integers are congruent modulo $n$ when they differ by a multiple of $n$.\nOn a $12$-hour clock, $14$ o'clock and $2$ o'clock show the same time, because $14 \\equiv 2 \\pmod{12}$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "congruence",
      "modular-congruence"
    ],
    "defines": "0WAY5WX8NY",
    "kind": "definition",
    "msc": [
      "11A07"
    ],
    "name": "Congruence modulo n",
    "sources": [
      {
        "locator": "Congruence",
        "url": "https://en.wikipedia.org/wiki/Modular_arithmetic"
      }
    ],
    "tag": "0TPW25CBN6",
    "uses": [
      "096PW7Q014"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0TPW25CBN6/",
  "links": [
    {
      "field": "defines",
      "target": "0WAY5WX8NY"
    },
    {
      "field": "uses",
      "target": "096PW7Q014"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0TPW25CBN6.md",
  "msc": [
    "11A07"
  ],
  "name": "Congruence modulo n",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0TP/0TPW25CBN6.md",
  "status": null,
  "tag": "0TPW25CBN6",
  "uri": "m2://0TPW25CBN6",
  "url": "https://math2.tamnd.com/wiki/congruence-modulo-n-definition/",
  "writing": {
    "tag": "0TPW25CBN6",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
