%I #5 Mar 31 2012 12:36:30
%S 1,0,0,0,0,0,0,8,8,0,0,0,0,0,0,0,8,27,27,8,0,0,32,27,98,27,32,0,0,16,
%T 154,242,242,154,16,0,0,64,272,863,1904,863,272,64,0,0,152,1117,3157,
%U 8593,8593,3157,1117,152,0,0,160,2321,13712,59395,68656,59395,13712,2321,160
%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 0,3,1,1,1 for x=0,1,2,3,4
%C Every 0 is next to 0 0's, every 1 is next to 1 3'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...0....0......0........0.........0...........0............0..............0
%C .0...0....8......0........8........32..........16...........64............152
%C .0...8....0.....27.......27.......154.........272.........1117...........2321
%C .0...0...27.....98......242.......863........3157........13712..........55965
%C .0...8...27....242.....1904......8593.......59395.......330625........1878470
%C .0..32..154....863.....8593.....68656......714768......5434981.......50877414
%C .0..16..272...3157....59395....714768.....7646732....116014737.....1664439925
%C .0..64.1117..13712...330625...5434981...116014737...2574621360....50272429302
%C .0.152.2321..55965..1878470..50877414..1664439925..50272429302..1530832628932
%C .0.160.7299.202825.11243393.471428527.21323586168.988650995551.47275579781737
%H R. H. Hardin, <a href="/A197623/b197623.txt">Table of n, a(n) for n = 1..179</a>
%e Some solutions containing all values 0 to 4 for n=6 k=4
%e ..1..3..1..0....0..1..3..1....1..3..1..2....1..3..1..0....2..1..3..1
%e ..0..1..4..1....2..1..1..0....0..1..4..1....1..1..4..1....1..4..1..0
%e ..1..0..1..3....1..3..0..1....1..0..1..3....3..1..1..3....3..1..4..1
%e ..3..1..0..1....2..1..1..3....3..1..4..1....1..1..1..1....1..0..1..3
%e ..1..4..1..0....0..1..4..1....1..0..1..0....1..3..3..1....1..3..1..1
%e ..2..1..3..1....1..3..1..0....2..1..3..1....2..1..1..2....2..1..2..0
%K nonn,tabl
%O 1,8
%A _R. H. Hardin_ Oct 16 2011
|