%I
%S 1,3,3,4,9,4,5,20,20,5,9,71,60,71,9,16,227,358,358,227,16,25,664,1626,
%T 3305,1626,664,25,39,2107,7232,25621,25621,7232,2107,39,64,6675,34717,
%U 199384,356211,199384,34717,6675,64,105,20696,160988,1634731,4499426
%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 3,0,1,1,1 for x=0,1,2,3,4
%C Every 0 is next to 0 3's, every 1 is next to 1 0's, every 2 is next to 2 1's, every 3 is next to 3 1's, every 4 is next to 4 1's
%C Table starts
%C ...1.....3.......4.........5............9.............16...............25
%C ...3.....9......20........71..........227............664.............2107
%C ...4....20......60.......358.........1626...........7232............34717
%C ...5....71.....358......3305........25621.........199384..........1634731
%C ...9...227....1626.....25621.......356211........4499426.........60334353
%C ..16...664....7232....199384......4499426.......93153650.......2065093081
%C ..25..2107...34717...1634731.....60334353.....2065093081......77683473682
%C ..39..6675..160988..13013551....801294395....45796265386....2861267797023
%C ..64.20696..748843.103260478..10631272297..1003308210971..104224692369107
%C .105.65029.3514426.825286477.141478252511.22026879283832.3821001855576417
%H R. H. Hardin, <a href="/A197409/b197409.txt">Table of n, a(n) for n = 1..144</a>
%e Some solutions containing all values 0 to 4 for n=6 k=4
%e ..0..1..1..0....2..1..2..0....2..1..1..0....1..0..1..2....2..1..2..0
%e ..0..2..2..1....1..0..1..1....1..0..2..0....1..0..1..1....1..0..1..1
%e ..0..1..3..1....1..0..1..3....1..0..1..1....1..0..2..0....3..1..4..1
%e ..1..4..1..0....1..1..4..1....2..1..4..1....3..1..1..0....1..4..1..0
%e ..1..1..1..2....0..1..1..0....0..1..1..0....1..4..1..0....0..1..1..0
%e ..0..0..0..1....1..3..1..0....1..3..1..0....0..1..2..0....1..3..1..0
%Y Column 1 is A195971
%K nonn,tabl
%O 1,2
%A _R. H. Hardin_ Oct 14 2011
