{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0C019SDTER"
    },
    {
      "field": "uses",
      "target": "0WW85SQVS3"
    }
  ],
  "body": "\n## Definition\n\nLet $n$ and $k$ be natural numbers.\nThe Stirling number of the second kind $S(n, k)$ is the number of partitions of an $n$-element set into $k$ nonempty blocks.\nA partition into blocks is a set of pairwise disjoint nonempty subsets whose union is the whole set.\n\n## Remarks\n\nOther notations are $\\left\\{ {n \\atop k} \\right\\}$ and $S_n^{(k)}$.\nBoundary values: $S(0, 0) = 1$, $S(n, 0) = 0$ for $n \\ge 1$, and $S(n, k) = 0$ for $k \u003e n$.\nExample: $S(4, 2) = 7$. The partitions of $\\{1, 2, 3, 4\\}$ into two blocks are $1|234$, $2|134$, $3|124$, $4|123$, $12|34$, $13|24$ and $14|23$.\nThe values satisfy a [[recurrence|0C019SDTER]], and the sum $\\sum_k S(n, k)$ is the [[Bell number|0WW85SQVS3]] $B_n$.\n\n## Explanations\n\n### L1 human\n\n$S(n, k)$ counts the ways to split $n$ labelled objects into $k$ groups, when the groups have no labels and none is empty.\nFor example, there are $S(3, 2) = 3$ ways to split three people into two teams.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0JCQGPY8Z4",
    "kind": "definition",
    "msc": [
      "11B73"
    ],
    "name": "Stirling numbers of the second kind",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Stirling_numbers_of_the_second_kind"
      }
    ],
    "tag": "0ZN07RQ3JS"
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0ZN07RQ3JS/",
  "links": [
    {
      "field": "defines",
      "target": "0JCQGPY8Z4"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0ZN07RQ3JS.md",
  "msc": [
    "11B73"
  ],
  "name": "Stirling numbers of the second kind",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0ZN/0ZN07RQ3JS.md",
  "status": null,
  "tag": "0ZN07RQ3JS",
  "uri": "m2://0ZN07RQ3JS",
  "url": "https://math2.tamnd.com/wiki/stirling-numbers-of-the-second-kind-definition/",
  "writing": {
    "tag": "0ZN07RQ3JS",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
