A267020 Number of (n+1)Xn arrays containing n copies of 0..n with every element equal to or 1 greater than any northeast or northwest neighbors modulo n and the upper left element equal to 0.
1, 5, 21, 259, 5493, 255437, 26320280, 6071784885
Offset: 1
Examples
Some solutions for n=4 ..0..4..1..3....0..2..4..1....0..3..1..3....0..2..0..3....0..2..4..2 ..4..1..4..2....3..0..2..0....4..1..3..1....3..1..3..1....2..0..2..4 ..2..0..2..4....0..3..1..3....2..4..1..4....1..4..1..4....0..3..0..3 ..0..2..0..3....4..1..3..1....0..2..4..2....0..2..4..2....3..1..3..1 ..3..1..3..1....2..4..2..4....3..0..2..0....2..0..3..4....1..4..1..4
Crossrefs
Cf. A267020.
Comments