{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "07CZYE06ZJ"
    }
  ],
  "body": "\n## Statement\n\nLet $a$ and $b$ be natural numbers.\nThen $\\gcd(a, b) \\cdot \\operatorname{lcm}(a, b) = a b$, where $\\gcd$ is the [[greatest common divisor|02WF878BH1]] and $\\operatorname{lcm}$ is the [[least common multiple|09S5SN35DJ]].\n\n## Remarks\n\nFor integers $a$ and $b$ of any sign, the same argument gives $\\gcd(a, b) \\cdot \\operatorname{lcm}(a, b) = |a b|$.\nThus $\\operatorname{lcm}(a, b) = a b / \\gcd(a, b)$ when $a$ and $b$ are not both $0$. This is the usual way to compute the lcm, with the [[Euclidean algorithm|0TRNT4X7J0]].\nFor example, $\\gcd(4, 6) = 2$, $\\operatorname{lcm}(4, 6) = 12$ and $2 \\cdot 12 = 24 = 4 \\cdot 6$.\n\n## Explanations\n\n### L1 human\n\nThink of the prime factors of $a$ and $b$. The gcd takes, for each prime, the smaller of the two exponents, and the lcm takes the larger one.\nThe smaller exponent plus the larger exponent is the sum of the two exponents.\nSo the product of the gcd and the lcm has the same prime factors as $a b$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11A05"
    ],
    "name": "Product of the gcd and the lcm",
    "role": "proposition",
    "sources": [
      {
        "locator": "Using the greatest common divisor",
        "url": "https://en.wikipedia.org/wiki/Least_common_multiple"
      }
    ],
    "tag": "0TDY6JZHKS",
    "uses": [
      "02WF878BH1",
      "09S5SN35DJ"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0TDY6JZHKS/",
  "links": [
    {
      "field": "uses",
      "target": "02WF878BH1"
    },
    {
      "field": "uses",
      "target": "09S5SN35DJ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0TDY6JZHKS.md",
  "msc": [
    "11A05"
  ],
  "name": "Product of the gcd and the lcm",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0TD/0TDY6JZHKS.md",
  "status": null,
  "tag": "0TDY6JZHKS",
  "uri": "m2://0TDY6JZHKS",
  "url": "https://math2.tamnd.com/wiki/product-of-the-gcd-and-the-lcm/",
  "writing": {
    "tag": "0TDY6JZHKS",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
