%I #6 Apr 21 2021 13:33:13
%S 6,82,9604,4140964,9704723126,108383467365104,5817146886160257060
%N Number of (n+1) X (n+1) 0..2 arrays with no element greater than all horizontal neighbors or equal to all vertical neighbors.
%C Diagonal of A239178.
%e Some solutions for n=3
%e ..0..0..2..2....2..2..0..0....1..1..1..1....2..2..2..1....1..2..2..2
%e ..1..1..0..0....0..0..1..1....0..2..2..2....1..1..0..0....0..1..1..0
%e ..1..1..1..0....1..1..0..0....0..1..1..1....0..0..1..1....0..0..0..0
%e ..0..2..2..1....2..2..1..1....2..2..2..0....1..1..0..0....1..2..2..2
%Y Cf. A239178.
%K nonn
%O 1,1
%A _R. H. Hardin_, Mar 11 2014