Basic Examples
Basic Examples
A permutation involution with , :
1↔2
3↔4
In[]:=
Out[]=
True
The permutation is not an involution because :
{2,3,1}
1↦2↦3≠1
In[]:=
Out[]=
False
Scope
Scope
These are the 10 involutive permutation on four elements, shown compactly:
In[]:=
Row/@SelectPermutations@Range@4,
Out[]=
{1234,1243,1324,1432,2134,2143,3214,3412,4231,4321}