%I #5 Mar 31 2012 12:36:28
%S 1,1,1,1,2,1,1,5,5,1,1,10,25,10,1,1,26,96,96,26,1,1,65,422,631,422,65,
%T 1,1,161,1780,5101,5101,1780,161,1,1,403,7537,37952,71867,37952,7537,
%U 403,1,1,1006,31911,289564,939690,939690,289564,31911,1006,1,1,2511,135283
%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 4,3,2,0,1 for x=0,1,2,3,4
%C Every 0 is next to 0 4's, every 1 is next to 1 3's, every 2 is next to 2 2's, every 3 is next to 3 0's, every 4 is next to 4 1's
%C Table starts
%C .1....1......1.........1...........1.............1................1
%C .1....2......5........10..........26............65..............161
%C .1....5.....25........96.........422..........1780.............7537
%C .1...10.....96.......631........5101.........37952...........289564
%C .1...26....422......5101.......71867........939690.........12635748
%C .1...65...1780.....37952......939690......21996614........522569033
%C .1..161...7537....289564....12635748.....522569033......21989908007
%C .1..403..31911...2200339...168802858...12390326286.....923559415946
%C .1.1006.135283..16713718..2257145231..293837693200...38737498552503
%C .1.2511.573054.127074214.30181119596.6966924806564.1625808615727565
%H R. H. Hardin, <a href="/A197090/b197090.txt">Table of n, a(n) for n = 1..180</a>
%e Some solutions for n=6 k=4
%e ..0..0..3..0....0..3..0..0....0..0..2..2....0..3..0..0....0..0..3..0
%e ..0..3..0..0....0..0..0..3....0..0..2..2....0..0..0..3....0..0..0..0
%e ..2..2..0..3....2..2..3..0....0..0..0..0....3..0..0..0....0..0..0..0
%e ..2..2..0..0....2..2..0..0....0..0..0..0....0..0..3..0....2..2..0..0
%e ..0..3..0..3....0..3..0..0....3..0..3..1....0..2..2..0....2..2..3..0
%e ..0..0..0..0....0..0..3..0....0..0..0..0....0..2..2..0....0..0..0..0
%Y Column 2 is A196630
%K nonn,tabl
%O 1,5
%A _R. H. Hardin_ Oct 10 2011
|