Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Determine whether a permutation is a reverse alternating permutation
Test whether {4,1,6,2,5,3} is reverse alternating:
In[1]:= |
Out[1]= |
The complement of an alternating permutation is a reverse alternating permutation:
In[2]:= |
Out[2]= |
This work is licensed under a Creative Commons Attribution 4.0 International License