%I #5 Mar 31 2012 12:36:27
%S 1,1,1,1,1,1,1,3,3,1,1,7,20,7,1,1,17,71,71,17,1,1,41,286,401,286,41,1,
%T 1,99,1176,2975,2975,1176,99,1,1,239,4768,20191,37194,20191,4768,239,
%U 1,1,577,19265,141833,447668,447668,141833,19265,577,1,1,1393,78414,986015
%N T(n,k)=Number of nXk 0..4 arrays with each element x equal to the number of its horizontal and vertical neighbors equal to 4,3,1,0,2 for x=0,1,2,3,4
%C Every 0 is next to 0 4's, every 1 is next to 1 3's, every 2 is next to 2 1's, every 3 is next to 3 0's, every 4 is next to 4 2's
%C Table starts
%C .1....1......1........1...........1.............1...............1
%C .1....1......3........7..........17............41..............99
%C .1....3.....20.......71.........286..........1176............4768
%C .1....7.....71......401........2975.........20191..........141833
%C .1...17....286.....2975.......37194........447668.........5598122
%C .1...41...1176....20191......447668.......9855864.......216042764
%C .1...99...4768...141833.....5598122.....216042764......8351540397
%C .1..239..19265...986015....68526999....4683808777....321111082107
%C .1..577..78414..6866117...842919460..102440829474..12356839088825
%C .1.1393.318016.47832829.10357555484.2232503865348.475267463574534
%H R. H. Hardin, <a href="/A196904/b196904.txt">Table of n, a(n) for n = 1..180</a>
%e Some solutions for n=6 k=4
%e ..0..3..0..0....0..3..0..0....0..0..0..0....0..0..0..0....0..1..0..0
%e ..0..0..3..0....0..0..3..1....0..3..0..3....0..0..0..0....0..3..0..0
%e ..0..1..1..0....0..0..0..0....0..3..0..0....0..0..0..3....3..0..3..1
%e ..0..3..0..0....3..0..3..0....3..0..0..0....0..0..0..0....0..0..0..0
%e ..3..0..3..1....0..0..1..0....0..0..0..0....3..0..0..3....1..3..0..3
%e ..0..0..0..0....0..3..0..0....0..0..0..0....0..3..0..0....0..0..0..0
%Y Column 2 is A001333(n1)
%K nonn,tabl
%O 1,8
%A _R. H. Hardin_ Oct 07 2011
