{
  "aliases": [
    "congruence-class"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "01N3AYAA6N"
    },
    {
      "field": "uses",
      "target": "0E22JKS4W4"
    },
    {
      "field": "uses",
      "target": "0J0QEN1DZR"
    }
  ],
  "body": "\n## Definition\n\nLet $n$ be a positive integer and let $a$ be an integer.\nThe residue class of $a$ modulo $n$ is the set $\\overline{a} = \\{ b \\in \\mathbb{Z} : b \\equiv a \\pmod n \\}$ of the integers [[congruent|0TPW25CBN6]] to $a$ modulo $n$.\nThus $\\overline{a} = \\{ a + k n : k \\in \\mathbb{Z} \\} = a + n \\mathbb{Z}$.\n\n## Remarks\n\nTwo residue classes $\\overline{a}$ and $\\overline{b}$ are equal if $a \\equiv b \\pmod n$, and they have no common element otherwise.\nThere are exactly $n$ residue classes modulo $n$: $\\overline{0}, \\overline{1}, \\dots, \\overline{n - 1}$.\nOther notations are $[a]$, $[a]_n$ and $a \\bmod n$.\nThe residue classes are the elements of the ring of [[integers modulo n|01N3AYAA6N]].\n\n## Explanations\n\n### L1 human\n\nModulo $3$, each integer falls in one of three boxes: the multiples of $3$, the numbers $1$ more than a multiple of $3$, and the numbers $2$ more.\nEach box is a residue class. For example, $\\overline{1} = \\{ \\dots, -5, -2, 1, 4, 7, \\dots \\}$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "congruence-class"
    ],
    "defines": "01RSTGNTXG",
    "kind": "definition",
    "msc": [
      "11A07"
    ],
    "name": "Residue class",
    "sources": [
      {
        "locator": "Congruence classes",
        "url": "https://en.wikipedia.org/wiki/Modular_arithmetic"
      }
    ],
    "tag": "0QRV8FPK5M",
    "uses": [
      "0TPW25CBN6"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0QRV8FPK5M/",
  "links": [
    {
      "field": "defines",
      "target": "01RSTGNTXG"
    },
    {
      "field": "uses",
      "target": "0TPW25CBN6"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0QRV8FPK5M.md",
  "msc": [
    "11A07"
  ],
  "name": "Residue class",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0QR/0QRV8FPK5M.md",
  "status": null,
  "tag": "0QRV8FPK5M",
  "uri": "m2://0QRV8FPK5M",
  "url": "https://math2.tamnd.com/wiki/residue-class-definition/",
  "writing": {
    "tag": "0QRV8FPK5M",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
