How to Use
Enter n:
- M(n): Motzkin number
- Sequence: First values
- Comparison: vs Catalan
Combinatorial Meanings
M(n) counts: (1) Motzkin paths of length n. (2) Ways to draw non-crossing chords on n+1 points. (3) RNA secondary structures of length n. (4) Certain pattern-avoiding permutations.
Catalan Connection
Catalan numbers count paths with only U and D (no flat steps). Motzkin adds flat steps, giving more paths. C(n)≤M(n) for n≥2. Both satisfy similar recurrences and have generating function connections.
Step-by-Step Instructions
- 1Enter n.
- 2Compute M(n).
- 3View sequence.
- 4Compare to Catalan.
- 5See interpretations.