{
  "aliases": [
    "gauss-totient-sum"
  ],
  "backlinks": null,
  "body": "\n## Statement\n\nLet $n$ be a positive integer.\nThen $\\sum_{d \\mid n} \\varphi(d) = n$, where the sum runs over the positive divisors $d$ of $n$, and $\\varphi$ is [[Euler's totient function|0VV04M41AN]].\n\n## Remarks\n\nThe proof: sort the fractions $\\frac{1}{n}, \\frac{2}{n}, \\dots, \\frac{n}{n}$ by their denominators in lowest terms. For each divisor $d$ of $n$, exactly $\\varphi(d)$ of them have the denominator $d$.\nFor example, for $n = 12$: $\\varphi(1) + \\varphi(2) + \\varphi(3) + \\varphi(4) + \\varphi(6) + \\varphi(12) = 1 + 1 + 2 + 2 + 2 + 4 = 12$.\nWith the [[Möbius inversion formula|07Q4TBTFVB]], the result gives $\\varphi(n) = \\sum_{d \\mid n} \\mu(d) \\, n / d$.\n\n## History\n\nGauss proved this identity in his Disquisitiones Arithmeticae of 1801.\n\n## Explanations\n\n### L1 human\n\nWrite the fractions $\\frac{1}{6}, \\frac{2}{6}, \\dots, \\frac{6}{6}$ in lowest terms: $\\frac16, \\frac13, \\frac12, \\frac23, \\frac56, \\frac11$.\nThe denominators $1, 2, 3, 6$ appear $1, 1, 2, 2$ times. These are $\\varphi(1), \\varphi(2), \\varphi(3), \\varphi(6)$, and their sum is $6$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "gauss-totient-sum"
    ],
    "kind": "statement",
    "msc": [
      "11A25"
    ],
    "name": "Sum of the totient over the divisors",
    "role": "theorem",
    "sources": [
      {
        "locator": "Divisor sum",
        "url": "https://en.wikipedia.org/wiki/Euler%27s_totient_function"
      }
    ],
    "tag": "09JXE6XMCC",
    "uses": [
      "0VV04M41AN",
      "096PW7Q014"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/09JXE6XMCC/",
  "links": [
    {
      "field": "uses",
      "target": "0VV04M41AN"
    },
    {
      "field": "uses",
      "target": "096PW7Q014"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/09JXE6XMCC.md",
  "msc": [
    "11A25"
  ],
  "name": "Sum of the totient over the divisors",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/09J/09JXE6XMCC.md",
  "status": null,
  "tag": "09JXE6XMCC",
  "uri": "m2://09JXE6XMCC",
  "url": "https://math2.tamnd.com/wiki/sum-of-the-totient-over-the-divisors/",
  "writing": {
    "tag": "09JXE6XMCC",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
