MathTop

motzkin 函数

返回用于计数不相交弦和路径配置的 Motzkin 数。

语法

  • motzkin(n)
  • MotzkinNumber(n)

参数与选项

n非负整数索引。

示例

  1. Motzkin 数motzkin(5)返回 9。