View on GitHub
Create tuple X of k-subsetssubsetsk-permutationsk-tuplespermutations of the power set of the tuple
k =
For each Xn, discard if
Replace each Xn with
Remove non-unique Xns
Run
X =