#mathober Day 3: ‘Permutation list’ I offer the attached diagram demonstrating t...
Alan J. Cain @ajcain@mathstodon.xyz
#mathober Day 3: ‘Permutation list’
I offer the attached diagram demonstrating the functioning of a minimal sorting network for permutations of length 7.
Each of the 16 comparators interchanges two elements if they are not ordered correctly.
Sixty years ago, in what was possibly the first-ever computer-assisted proof, R.W. Floyd & D.E. Knuth established that 16 is the minimum number of comparators required for a single network to sort any permutation of length 7.
1/2