{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $p(n)$ be the [[partition function|001CX45SWQ]].\nThen, as formal power series in $\\mathbb{Z}[\\![x]\\!]$,\n$$\\sum_{n \\ge 0} p(n)\\, x^n = \\prod_{k \\ge 1} \\frac{1}{1 - x^k}.$$\n\n## Remarks\n\nThe infinite product makes sense, because each coefficient of the product depends only on finitely many factors.\nProof idea: the factor $\\frac{1}{1 - x^k} = 1 + x^k + x^{2k} + \\dots$ chooses how many parts equal $k$.\nRestricting the factors gives other results. For example, $\\prod_{k \\ge 1} (1 + x^k)$ counts partitions into distinct parts. This gives [[Euler's partition theorem|0XFZ1BMF5Q]].\n\n## Explanations\n\n### L1 human\n\nEach factor of the product decides how many times a part $k$ appears in the partition.\nMultiplying the factors combines these choices, and the coefficient of $x^n$ counts the choices with total $n$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "11P81"
    ],
    "name": "Generating function for partitions",
    "role": "theorem",
    "sources": [
      {
        "locator": "Generating function",
        "url": "https://en.wikipedia.org/wiki/Partition_function_(number_theory)"
      }
    ],
    "tag": "0578PA53VA",
    "uses": [
      "001CX45SWQ",
      "0HH6JX5WZZ"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0578PA53VA/",
  "links": [
    {
      "field": "uses",
      "target": "001CX45SWQ"
    },
    {
      "field": "uses",
      "target": "0HH6JX5WZZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0578PA53VA.md",
  "msc": [
    "11P81"
  ],
  "name": "Generating function for partitions",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/057/0578PA53VA.md",
  "status": null,
  "tag": "0578PA53VA",
  "uri": "m2://0578PA53VA",
  "url": "https://math2.tamnd.com/wiki/generating-function-for-partitions/",
  "writing": {
    "tag": "0578PA53VA",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
