{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nThe set $\\mathbb{Q}$ of rational numbers is [[countably infinite|0SEZ3JGZP7]].\n\n## Remarks\n\nProof: each rational number has a unique form $p/q$ with $p \\in \\mathbb{Z}$, $q \\ge 1$ and $\\gcd(p, q) = 1$. The map $p/q \\mapsto (p, q)$ is an injection into $\\mathbb{Z} \\times \\mathbb{N}$, which is countable. And $\\mathbb{Q}$ is infinite.\nThe rationals are dense in $\\mathbb{R}$, but they are countable, and $\\mathbb{R}$ is [[not countable|0518MM6BE1]].\n\n## Explanations\n\n### L1 human\n\nWrite the fractions $p/q$ in a grid, with $p$ along one side and $q$ along the other.\nList the grid diagonal by diagonal, and skip each fraction that is not in lowest terms.\nEach rational number appears exactly one time.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "03E10"
    ],
    "name": "The rationals are countable",
    "role": "theorem",
    "sources": [
      {
        "locator": "Countability",
        "url": "https://en.wikipedia.org/wiki/Rational_number"
      }
    ],
    "tag": "0DS9KWFDK2",
    "uses": [
      "0SEZ3JGZP7",
      "066RJJVWH9",
      "08G4XH86JC"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0DS9KWFDK2/",
  "links": [
    {
      "field": "uses",
      "target": "0SEZ3JGZP7"
    },
    {
      "field": "uses",
      "target": "066RJJVWH9"
    },
    {
      "field": "uses",
      "target": "08G4XH86JC"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0DS9KWFDK2.md",
  "msc": [
    "03E10"
  ],
  "name": "The rationals are countable",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0DS/0DS9KWFDK2.md",
  "status": null,
  "tag": "0DS9KWFDK2",
  "uri": "m2://0DS9KWFDK2",
  "url": "https://math2.tamnd.com/wiki/the-rationals-are-countable/",
  "writing": {
    "tag": "0DS9KWFDK2",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
