{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "PHA1S6GQGV"
    }
  ],
  "body": "\n## Summary\n\nThe Motzkin number $M_n$ counts certain [[lattice paths|040WY0TT2G]] from $(0, 0)$ to $(n, 0)$, see the [[definition|PHA1S6GQGV]].\nThe paths use up, down and flat steps and never go below the horizontal axis.\nIt also counts the ways to draw non-crossing chords between $n$ points on a circle.\nThe sequence starts $1, 1, 2, 4, 9, 21, 51, 127$.\nThe Motzkin numbers are a close relative of the [[Catalan numbers|0YWZJEABB2]], which count the same paths without flat steps.\n\n## Explanations\n\n### L1 human\n\nImagine a walker who takes $n$ steps to the right, and each step goes up, down or stays level.\nThe walker starts and ends at height $0$ and never goes underground.\nFor $n = 3$ the possible walks are level-level-level, up-down-level, level-up-down and up-level-down.\nSo $M_3 = 4$.\n",
  "commit": "5fc425f97f1f6b11da5892c2948ef8c5d8805665",
  "front": {
    "kind": "concept",
    "msc": [
      "05A15",
      "11B83"
    ],
    "name": "Motzkin number",
    "same_as": {
      "wikidata": "Q2915234",
      "wikipedia": "Motzkin number"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Motzkin_number"
      }
    ],
    "tag": "PB0DSH9XCG"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/PB0DSH9XCG/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/PB0DSH9XCG.md",
  "msc": [
    "05A15",
    "11B83"
  ],
  "name": "Motzkin number",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/PB0/PB0DSH9XCG.md",
  "status": null,
  "tag": "PB0DSH9XCG",
  "uri": "m2://PB0DSH9XCG",
  "url": "https://math2.tamnd.com/wiki/motzkin-number/",
  "writing": {
    "tag": "PB0DSH9XCG",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
