%I #10 Apr 14 2020 21:33:39
%S 1,3,15,137,2063,69265,4893787,787556232
%N Number of n X n arrays containing n 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.
%C Diagonal of A267019.
%e Some solutions for n=4
%e ..0..3..1..3....0..1..3..2....0..2..0..1....0..3..1..2....0..2..0..3
%e ..3..1..0..2....1..0..2..3....2..0..2..1....3..1..3..1....2..1..3..1
%e ..2..0..2..0....1..2..0..3....0..3..1..3....2..0..1..3....1..3..1..0
%e ..1..3..1..2....2..1..3..0....3..1..3..2....0..2..0..2....3..2..0..2
%Y Cf. A267020.
%K nonn
%O 1,2
%A _R. H. Hardin_, Jan 09 2016
|