{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $n$ be a natural number.\nThen the number of [[Dyck words|0R9JR0465V]] of semilength $n$ is the [[Catalan number|092DRBFKMG]] $C_n$.\n\n## Remarks\n\nFor $n = 3$ the $5$ Dyck words are $UUUDDD$, $UUDUDD$, $UUDDUD$, $UDUUDD$ and $UDUDUD$.\nProof idea: a nonempty Dyck word has a unique form $U w_1 D w_2$, where $w_1$ and $w_2$ are Dyck words. This gives the [[Catalan recurrence|0Y1MG9R5VN]].\n\n## Explanations\n\n### L1 human\n\nEach nonempty balanced bracket string starts with an opening bracket, and that bracket has a matching closing bracket.\nThe inside and the part after the match are smaller balanced strings, so the count satisfies the Catalan recurrence.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "kind": "statement",
    "msc": [
      "05A15"
    ],
    "name": "Dyck words are counted by Catalan numbers",
    "role": "theorem",
    "sources": [
      {
        "locator": "Applications in combinatorics",
        "url": "https://en.wikipedia.org/wiki/Catalan_number"
      }
    ],
    "tag": "017SRZ7NE9",
    "uses": [
      "092DRBFKMG",
      "0R9JR0465V"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/017SRZ7NE9/",
  "links": [
    {
      "field": "uses",
      "target": "092DRBFKMG"
    },
    {
      "field": "uses",
      "target": "0R9JR0465V"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/017SRZ7NE9.md",
  "msc": [
    "05A15"
  ],
  "name": "Dyck words are counted by Catalan numbers",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/017/017SRZ7NE9.md",
  "status": null,
  "tag": "017SRZ7NE9",
  "uri": "m2://017SRZ7NE9",
  "url": "https://math2.tamnd.com/wiki/dyck-words-are-counted-by-catalan-numbers/",
  "writing": {
    "tag": "017SRZ7NE9",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
