{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "09RDZZGJZ9"
    }
  ],
  "body": "\n## Statement\n\nLet $n$, $a$ and $b$ be integers.\nIf $n \\mid a b$ and $n$ and $a$ are [[coprime|0GFKP8F8AG]], then $n \\mid b$.\n\n## Remarks\n\nWhen $n$ is a prime $p$ and $p \\nmid a$, then $p$ and $a$ are coprime. So this result implies [[Euclid's lemma|051VYKA1EX]].\nThe proof uses [[Bézout's identity|0DQVHMYAGA]]: from $n x + a y = 1$ we get $b = n b x + a b y$, and $n$ divides both terms.\nFor example, $5 \\mid 3 \\cdot 10$ and $\\gcd(5, 3) = 1$, so $5 \\mid 10$.\n\n## Explanations\n\n### L1 human\n\nIf $n$ divides $a b$ but has no common factor with $a$, then all the factors of $n$ must come from $b$.\nFor example, $4 \\mid 3 b$ forces $4 \\mid b$, because $3$ gives no factor $2$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A05"
    ],
    "name": "Generalized Euclid's lemma",
    "role": "proposition",
    "sources": [
      {
        "locator": "Formulations",
        "url": "https://en.wikipedia.org/wiki/Euclid%27s_lemma"
      }
    ],
    "tag": "03BAREW1Z5",
    "uses": [
      "0GFKP8F8AG",
      "096PW7Q014"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/03BAREW1Z5/",
  "links": [
    {
      "field": "uses",
      "target": "0GFKP8F8AG"
    },
    {
      "field": "uses",
      "target": "096PW7Q014"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/03BAREW1Z5.md",
  "msc": [
    "11A05"
  ],
  "name": "Generalized Euclid's lemma",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/03B/03BAREW1Z5.md",
  "status": null,
  "tag": "03BAREW1Z5",
  "uri": "m2://03BAREW1Z5",
  "url": "https://math2.tamnd.com/wiki/generalized-euclids-lemma/",
  "writing": {
    "tag": "03BAREW1Z5",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
