%I #5 Mar 31 2012 12:36:26
%S 1,1,1,1,2,1,1,5,5,1,1,10,21,10,1,1,26,62,62,26,1,1,65,232,327,232,65,
%T 1,1,161,780,1927,1927,780,161,1,1,403,2716,10708,17518,10708,2716,
%U 403,1,1,1006,9427,61040,154629,154629,61040,9427,1006,1,1,2511,32612,344949
%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 1,4,2,0,3 for x=0,1,2,3,4
%C Every 0 is next to 0 1's, every 1 is next to 1 4's, every 2 is next to 2 2's, every 3 is next to 3 0's, every 4 is next to 4 3's
%C Table starts
%C .1....1......1........1.........1...........1.............1...............1
%C .1....2......5.......10........26..........65...........161.............403
%C .1....5.....21.......62.......232.........780..........2716............9427
%C .1...10.....62......327......1927.......10708.........61040..........344949
%C .1...26....232.....1927.....17518......154629.......1359317........12023695
%C .1...65....780....10708....154629.....2166536......30213746.......423781213
%C .1..161...2716....61040...1359317....30213746.....665532327.....14699136810
%C .1..403...9427...344949..12023695...423781213...14699136810....513774394191
%C .1.1006..32612..1953280.106039299..5929501986..324580294214..17926995334934
%C .1.2511.113008.11058838.936657625.83127041136.7174373488843.626287631983705
%H R. H. Hardin, <a href="/A196641/b196641.txt">Table of n, a(n) for n = 1..220</a>
%e Some solutions for n=6 k=4
%e ..0..0..2..2....0..0..0..0....2..2..0..0....2..2..2..2....0..0..0..0
%e ..0..0..2..2....0..0..0..3....2..2..3..0....2..0..0..2....0..0..3..0
%e ..0..0..3..0....0..0..0..0....0..0..0..0....2..2..2..2....0..0..3..0
%e ..0..0..0..0....0..3..3..0....0..3..3..0....0..0..0..0....3..0..0..0
%e ..0..2..2..0....0..0..0..0....0..0..0..0....0..3..2..2....0..3..3..0
%e ..0..2..2..0....0..0..0..0....0..0..0..0....0..0..2..2....0..0..0..0
%Y Column 2 is A196630
%Y Column 3 is A196631
%Y Column 4 is A196632
%K nonn,tabl
%O 1,5
%A _R. H. Hardin_ Oct 04 2011
|