Some solutions with all values from 0 to 5 for n=5
..0..1..0..1....0..1..0..1....0..1..0..1....0..1..0..1....0..1..0..1
..1..0..1..0....1..0..1..0....1..0..1..0....1..0..1..0....1..0..1..0
..2..3..0..1....2..3..0..1....2..3..0..1....2..3..0..1....2..1..0..3
..0..4..3..5....0..1..4..3....4..1..5..3....4..5..4..3....0..3..4..2
..1..5..2..1....4..5..3..1....5..3..4..0....3..4..5..0....5..2..3..0
|