3
$\begingroup$

Can you fill a 4x4 grid with numbers from 1 to 4 such that:

  • Every number occurs exactly once in each row and in each column (Latin square).
  • No row or column contains 3 adjacent numbers that are all in increasing or decreasing order. For example you cannot have "1, 2, 3" or "3, 2, 1", but you can have "1, 3, 2".

Good luck!

$\endgroup$

1 Answer 1

4
$\begingroup$

Here is an example

 1  3  2  4
 3  1  4  2
 2  4  1  3
 4  2  3  1
 

$\endgroup$
1
  • $\begingroup$ Correct and very fast! $\endgroup$ Commented Jan 19, 2021 at 0:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.