Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Evaluate the Motzkin number
ResourceFunction["MotzkinM"][n] gives the Motzkin number Mn. |
Compute MotzkinM of 10:
In[1]:= | ![]() |
Out[1]= | ![]() |
Plot the sequence:
In[2]:= | ![]() |
Out[2]= | ![]() |
MotzkinM threads over lists:
In[3]:= | ![]() |
Out[3]= | ![]() |
Logarithmic plot of MotzkinM:
In[4]:= | ![]() |
Out[4]= | ![]() |
MotzkinM satisfies a recurrence relation:
In[5]:= | ![]() |
Out[5]= | ![]() |
In[6]:= | ![]() |
Out[6]= | ![]() |
Compute a Motzkin number from its generating function:
In[7]:= | ![]() |
Out[7]= | ![]() |
In[8]:= | ![]() |
Out[8]= | ![]() |
Express MotzkinM in terms of Binomial and CatalanNumber:
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License