{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $X$ be a set with $m$ elements, and let $n$ be a positive integer with $n \\le m$.\nCall a string over $X$ a permutation if no letter occurs twice in it.\nThen the number of such strings of length $n$ is $P(m,n) = m(m-1)\\cdots(m-n+1)$.\n\n## Remarks\n\nHere $P(m,n)$ is the [[falling factorial|0N5M924N3P]] $(m)_n$, which equals $m!/(m-n)!$.\nA string of length $n$ with distinct letters is the same as an injective function from $\\{1,\\dots,n\\}$ to $X$.\nSo the count is a special case of the [[number of injections|0X0N833FF8]].\n",
  "commit": "a799a9852bcfeae9dc83faa3bef60208bb53686b",
  "front": {
    "kind": "statement",
    "msc": [
      "05A05"
    ],
    "name": "Number of strings of distinct letters",
    "role": "theorem",
    "sources": [
      {
        "locator": "source/s_strings_permutations.ptx:60",
        "url": "https://github.com/mitchkeller/applied-combinatorics/blob/ebd95d6bd59e23c633c65cf560bcb93efa912aae/source/s_strings_permutations.ptx#L60"
      }
    ],
    "tag": "W0J0GT3PEF",
    "uses": [
      "0N5M924N3P",
      "0X0N833FF8"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/W0J0GT3PEF/",
  "links": [
    {
      "field": "uses",
      "target": "0N5M924N3P"
    },
    {
      "field": "uses",
      "target": "0X0N833FF8"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/W0J0GT3PEF.md",
  "msc": [
    "05A05"
  ],
  "name": "Number of strings of distinct letters",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/W0J/W0J0GT3PEF.md",
  "status": null,
  "tag": "W0J0GT3PEF",
  "uri": "m2://W0J0GT3PEF",
  "url": "https://math2.tamnd.com/wiki/number-of-strings-of-distinct-letters/",
  "writing": {
    "tag": "W0J0GT3PEF",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
