Permutations appear scattered irregularly among all
n
n
tuples. This notebook maps their positions to reveal a surprising structure. By visualizing deviations from a uniform equilibrium, we discover that the apparent chaos cancels out to a precise constant for every
n
.
Let poslist be any list of positive integers. Define the predicate
In[]:=
permlistQ@poslist_:=Sort[poslist]==(Range@Length@poslist)
Now let n be a positive integer and consider the function
In[]:=
tupls@n_:=Tuples[Range@n,n]
Note that tupls@n returns a list of length
n
n
. For example,
In[]:=
tupls@2
Out[]=
{{1,1},{1,2},{2,1},{2,2}}
Note that permlistQ picks out all of the permutations:
In[]:=
permlistQ/@%
Out[]=
{False,True,True,False}
This is true for any value of n .
The output of tupls@n has
n
n
terms and must include all n! permutations of Range@n. It is the purpose of this work to exhibit a symmetry property obeyed by the positions of these permutations amongst the list of
n
n
terms. For any positive integer n these positions are given by
In[]:=
permlocs@n_:=Flatten@Position[permlistQ/@(tupls@n),True]
A plot shows a bit of a symmetry for n = 4:
In[]:=
ListPlot@permlocs@4
Out[]=
Here are some equally - spaced "equilibrium points"
In[]:=
reflocs@n_:=Tablek
n
n
n!
,{k,n!}
In[]:=
ListPlot@reflocs@4
Out[]=
It makes sense to look at displacements from equilibrium :
In[]:=
deltas@n_:=permlocs@n-reflocs@n
Now the symmetry becomes more obvious:
In[]:=
ListPlot@deltas@4
Out[]=
Define
In[]:=
symmcheck@n_:=(deltas@n+Reverse@deltas@n)
Now the symmetry is so obvious that it becomes a constant:
In[]:=
ListPlot@symmcheck@4
Out[]=
To evaluate the constant define
In[]:=
unioncheck@n_:=-Union@(deltas@n+Reverse@deltas@n)
In[]:=
unioncheck@4
Out[]=

29
3

The symmetry goes beyond n=4 and holds true for all values of n that have so far been evaluated. For example,
In[]:=
unioncheck/@Range@7//Flatten
Out[]=
0,1,
7
2
,
29
3
,
601
24
,
319
5
,
116929
720


CITE THIS NOTEBOOK

Hidden symmetry in permutation space​
by David Vasholz​
Wolfram Community, STAFF PICKS, February 17, 2026
​https://community.wolfram.com/groups/-/m/t/3641283