%I #5 Mar 31 2012 12:36:29
%S 1,2,2,3,5,3,4,12,12,4,7,36,81,36,7,11,107,474,474,107,11,16,321,2678,
%T 4837,2678,321,16,26,957,15410,52117,52117,15410,957,26,41,2868,88767,
%U 585194,1108699,585194,88767,2868,41,62,8581,510482,6455759,23829080
%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 2,1,1,0,0 for x=0,1,2,3,4
%C Every 0 is next to 0 2's, every 1 is next to 1 1's, every 2 is next to 2 1's, every 3 is next to 3 0's, every 4 is next to 4 0's
%C Table starts
%C ..1.....2........3..........4.............7...............11
%C ..2.....5.......12.........36...........107..............321
%C ..3....12.......81........474..........2678............15410
%C ..4....36......474.......4837.........52117...........585194
%C ..7...107.....2678......52117.......1108699.........23829080
%C .11...321....15410.....585194......23829080........982926107
%C .16...957....88767....6455759.....504568165......40087361395
%C .26..2868...510482...71202438...10724642167....1640477445822
%C .41..8581..2936714..787298158..228248265080...67160665746869
%C .62.25694.16895217.8700460833.4853181015432.2747685400705119
%H R. H. Hardin, <a href="/A197450/b197450.txt">Table of n, a(n) for n = 1..180</a>
%e Some solutions containing all values 0 to 4 for n=6 k=4
%e ..2..1..1..0....1..2..1..0....1..0..0..1....0..0..3..0....0..0..1..0
%e ..1..0..0..0....1..2..1..0....1..3..0..1....0..3..0..1....0..0..1..0
%e ..1..0..4..0....0..3..0..3....0..0..3..2....0..3..0..1....0..4..0..3
%e ..0..3..0..0....0..0..4..0....0..4..0..1....1..0..4..0....0..0..3..0
%e ..0..3..0..3....0..0..0..1....0..0..0..1....1..0..0..0....0..1..2..1
%e ..0..0..0..0....0..0..0..1....0..0..0..0....2..1..1..0....0..1..2..1
%Y Column 1 is A113435(n+1)
%K nonn,tabl
%O 1,2
%A _R. H. Hardin_ Oct 15 2011
|