construct/mc ortholatin
construct/mc ortholatin: a task in MathConstructOptimize-Envs-harbor (Harbor dataset). Construct a pair of orthogonal Latin squares of order 7: two 7x7 arrays X and Y with entries in 0..6 such that every row and every column of X is a permutation of 0..6, the same holds for Y, and the 49 ordered…
The task
Construct a pair of orthogonal Latin squares of order 7: two 7x7 arrays X and Y with entries in 0..6 such that every row and every column of X is a permutation of 0..6, the same holds for Y, and the 49 ordered pairs (X[i][j], Y[i][j]) are all distinct.