{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe deduce the lemma from the generalized Euclid's lemma.\n\n1. Let $p$ be a [[prime number|0SN0MAEKYX]] and let $a$, $b$ be integers with $p \\mid ab$. If $p \\mid a$, we are done. So assume $p \\nmid a$.\n2. Let $g = \\gcd(p, a)$ be the [[greatest common divisor|02WF878BH1]]. It is defined as the largest common divisor, because $p \\neq 0$.\n3. The number $1$ is a common divisor of $p$ and $a$, so $g \\ge 1$.\n4. The number $g$ is a positive [[divisor|096PW7Q014]] of $p$. Since $p$ is prime, $g = 1$ or $g = p$.\n5. If $g = p$, then $p \\mid a$, which is false. So $g = 1$, and $p$ and $a$ are [[coprime|0GFKP8F8AG]].\n6. By the [[generalized Euclid's lemma|03BAREW1Z5]], $p \\mid ab$ and $\\gcd(p, a) = 1$ give $p \\mid b$.\n7. So $p \\mid a$ or $p \\mid b$.\n\n## Idea\n\nA prime has only two positive divisors, so a prime that does not divide $a$ has nothing in common with $a$. Then the coprime case of the lemma forces $p$ to divide $b$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "11A05"
    ],
    "name": "Proof of Euclid's lemma",
    "proves": "051VYKA1EX",
    "sources": [
      {
        "locator": "Proofs",
        "url": "https://en.wikipedia.org/wiki/Euclid%27s_lemma"
      }
    ],
    "tag": "85G9HBA7ND",
    "uses": [
      "0SN0MAEKYX",
      "096PW7Q014",
      "02WF878BH1",
      "0GFKP8F8AG",
      "03BAREW1Z5"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/85G9HBA7ND/",
  "links": [
    {
      "field": "proves",
      "target": "051VYKA1EX"
    },
    {
      "field": "uses",
      "target": "0SN0MAEKYX"
    },
    {
      "field": "uses",
      "target": "096PW7Q014"
    },
    {
      "field": "uses",
      "target": "02WF878BH1"
    },
    {
      "field": "uses",
      "target": "0GFKP8F8AG"
    },
    {
      "field": "uses",
      "target": "03BAREW1Z5"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/85G9HBA7ND.md",
  "msc": [
    "11A05"
  ],
  "name": "Proof of Euclid's lemma",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/85G/85G9HBA7ND.md",
  "status": null,
  "tag": "85G9HBA7ND",
  "uri": "m2://85G9HBA7ND",
  "url": "https://math2.tamnd.com/wiki/proof-of-euclids-lemma/",
  "writing": {
    "tag": "85G9HBA7ND",
    "kind": "proof",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
