Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the skew sum of permutation lists
ResourceFunction["PermutationSkewSum"][perm1,perm2,…] gives the skew sum of the permutations permi. |
The skew sum of {1,4,3,2,5} and {4,2,3,1}:
In[1]:= |
Out[1]= |
The skew sum of four permutations:
In[2]:= |
Out[2]= |
The skew sum is not commutative:
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
The skew sum is associative:
In[5]:= |
Out[5]= |
In[6]:= |
Out[6]= |
This work is licensed under a Creative Commons Attribution 4.0 International License