%I #6 Aug 12 2016 06:55:34
%S 1,1,1,1,1,2,1,1,5,6,1,1,15,74,24,1,1,109,2320,2668,120,1,1,574,77830,
%T 729874,150836,720,1,1,2840,2595190,227032241,466056593,12011058,5040,
%U 1,1,13767,94930586,81044162960,1814200905314,515679132204,1279437414
%N T(n,k)=Number of nXk arrays containing k copies of 0..n-1 with no element 1 greater than its northwest or southwest neighbor modulo n and the upper left element equal to 0.
%C Table starts
%C .....1..........1............1.............1...........1........1..........1
%C .....1..........1............1.............1...........1........1..........1
%C .....2..........5...........15...........109.........574.....2840......13767
%C .....6.........74.........2320.........77830.....2595190.94930586.3708826784
%C ....24.......2668.......729874.....227032241.81044162960
%C ...120.....150836....466056593.1814200905314
%C ...720...12011058.515679132204
%C ..5040.1279437414
%C .40320
%H R. H. Hardin, <a href="/A266572/b266572.txt">Table of n, a(n) for n = 1..49</a>
%e Some solutions for n=4 k=4
%e ..0..1..0..3....0..1..0..3....0..1..3..3....0..2..2..3....0..2..3..2
%e ..2..2..3..0....1..2..1..2....2..3..0..1....0..3..1..1....0..0..2..1
%e ..2..1..1..3....2..3..0..3....0..2..1..3....0..3..2..1....2..3..3..1
%e ..2..1..3..0....1..0..3..2....2..2..0..1....3..2..1..0....3..0..1..1
%Y Column 1 is A000142(n-1).
%K nonn,tabl
%O 1,6
%A _R. H. Hardin_, Jan 01 2016