A267021 Number of nX(n+1) arrays of permutations of n+1 copies of 0..n-1 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, 10, 59, 759, 18157, 912057, 100710495
Offset: 1
Keywords
Examples
Some solutions for n=4 ..0..1..3..1..0....0..1..3..1..3....0..2..1..3..0....0..2..0..2..0 ..2..0..2..0..2....2..0..1..3..1....3..1..3..1..3....2..0..3..1..2 ..1..3..1..3..1....0..2..0..2..3....2..3..2..0..1....1..3..1..3..1 ..3..2..3..2..0....2..1..2..0..3....0..2..0..2..1....3..2..0..1..3
Crossrefs
Cf. A267019.
Comments