%I #5 Mar 31 2012 12:36:36
%S 1,1,1,1,1,1,1,45,45,1,10,105,930,105,10,45,4251,7945,7945,4251,45,
%T 105,9175,808721,705263,808721,9175,105,105,447916,36379420,66367192,
%U 66367192,36379420,447916,105,1155,958259,821116806,6518500460
%N T(n,k)=Number of nXk 0..3 arrays with values 0..3 introduced in row major order, the number of instances of each value within one of each other, and every element equal to zero or one horizontal or vertical neighbors
%C Table starts
%C ....1........1..........1............1.............10.............45
%C ....1........1.........45..........105...........4251...........9175
%C ....1.......45........930.........7945.........808721.......36379420
%C ....1......105.......7945.......705263.......66367192.....6518500460
%C ...10.....4251.....808721.....66367192....71245512532.32990481786550
%C ...45.....9175...36379420...6518500460.32990481786550
%C ..105...447916..821116806.661357976129
%C ..105...958259.7583425311
%C .1155.50233308
%C .5505
%H R. H. Hardin, <a href="/A199356/b199356.txt">Table of n, a(n) for n = 1..59</a>
%e Some solutions for n=3 k=3
%e ..0..1..1....0..1..2....0..1..2....0..1..1....0..0..1....0..0..1....0..1..2
%e ..2..2..0....3..1..0....1..2..3....2..0..3....2..3..2....2..2..3....2..1..3
%e ..0..3..3....2..3..1....0..1..3....3..1..2....3..1..0....3..3..1....2..0..3
%K nonn,tabl
%O 1,8
%A _R. H. Hardin_ Nov 05 2011