{
  "aliases": [
    "sum-of-divisors-function"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0G01TS1RRP"
    },
    {
      "field": "uses",
      "target": "0SB7Q8SYSF"
    },
    {
      "field": "uses",
      "target": "0VS0MP1P5H"
    },
    {
      "field": "uses",
      "target": "0WETJCKNRG"
    }
  ],
  "body": "\n## Definition\n\nFor a positive integer $n$, the sum of divisors of $n$ is\n$$\\sigma(n) = \\sigma_1(n) = \\sum_{d \\mid n} d,$$\nwhere $\\sigma_1$ is the [[divisor function|0YEW47VJ0J]] with $k = 1$.\n\n## Remarks\n\nIf $n = p_1^{e_1} \\cdots p_r^{e_r}$ with distinct primes $p_i$, then $\\sigma(n) = \\prod_{i=1}^{r} \\frac{p_i^{e_i + 1} - 1}{p_i - 1}$.\nFor example, $\\sigma(12) = 1 + 2 + 3 + 4 + 6 + 12 = 28$.\nThe sum of the proper divisors is $\\sigma(n) - n$. It defines [[perfect|0SB7Q8SYSF]], [[abundant|0VS0MP1P5H]] and [[deficient|0G01TS1RRP]] numbers.\n\n## Explanations\n\n### L1 human\n\nThe function $\\sigma(n)$ adds all the divisors of $n$, including $1$ and $n$.\nFor a prime $p$, the only divisors are $1$ and $p$, so $\\sigma(p) = p + 1$.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "aliases": [
      "sum-of-divisors-function"
    ],
    "defines": "06TK51263Q",
    "kind": "definition",
    "msc": [
      "11A25"
    ],
    "name": "Sum of divisors",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Divisor_function"
      }
    ],
    "tag": "009QCP5T3Z",
    "uses": [
      "0YEW47VJ0J"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/009QCP5T3Z/",
  "links": [
    {
      "field": "defines",
      "target": "06TK51263Q"
    },
    {
      "field": "uses",
      "target": "0YEW47VJ0J"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/009QCP5T3Z.md",
  "msc": [
    "11A25"
  ],
  "name": "Sum of divisors",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/009/009QCP5T3Z.md",
  "status": null,
  "tag": "009QCP5T3Z",
  "uri": "m2://009QCP5T3Z",
  "url": "https://math2.tamnd.com/wiki/sum-of-divisors-definition/",
  "writing": {
    "tag": "009QCP5T3Z",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
