I want to find symmetries in 4 integer variables i,j,k and l .
The symmetries are:
all four numbers are equal: XXXX,
three numbers are equal: XXXY,XXYX,XYXX,YXXX
two pairs of equal numbers: XXYY,XYXY,XYYX,...
one pair of equal numbers and two dif...