%I #5 Mar 31 2012 12:36:27
%S 1,1,1,1,1,1,1,3,3,1,1,7,20,7,1,1,17,71,71,17,1,1,41,282,401,282,41,1,
%T 1,99,1144,2923,2923,1144,99,1,1,239,4559,19567,35202,19567,4559,239,
%U 1,1,577,18153,134507,400368,400368,134507,18153,577,1,1,1393,72678,919377
%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,3,1,0,4 for x=0,1,2,3,4
%C Every 0 is next to 0 2's, every 1 is next to 1 3's, every 2 is next to 2 1's, every 3 is next to 3 0's, every 4 is next to 4 4's
%C Table starts
%C .1....1......1........1..........1.............1...............1
%C .1....1......3........7.........17............41..............99
%C .1....3.....20.......71........282..........1144............4559
%C .1....7.....71......401.......2923.........19567..........134507
%C .1...17....282.....2923......35202........400368.........4717086
%C .1...41...1144....19567.....400368.......7942712.......158910093
%C .1...99...4559...134507....4717086.....158910093......5423213789
%C .1..239..18153...919377...54734117....3154873061....184583551173
%C .1..577..72678..6283897..637202902...62983652064...6281590396734
%C .1.1393.290202.42987489.7415237912.1254587192478.213663802431954
%H R. H. Hardin, <a href="/A196746/b196746.txt">Table of n, a(n) for n = 1..264</a>
%e Some solutions for n=6 k=4
%e ..0..0..3..0....0..0..3..0....0..0..3..0....0..3..0..0....0..0..3..0
%e ..0..0..0..0....0..0..0..0....0..0..0..3....3..0..0..3....3..0..0..0
%e ..0..0..0..0....0..0..0..0....0..1..3..0....0..3..0..0....0..0..0..3
%e ..0..0..1..0....3..0..0..0....0..0..0..0....0..1..0..0....0..0..0..0
%e ..3..0..3..0....0..0..0..3....3..0..0..3....0..1..3..0....0..1..3..0
%e ..0..3..0..0....0..0..0..0....0..3..0..0....0..0..0..0....0..0..0..0
%Y Column 2 is A001333(n-1)
%K nonn,tabl
%O 1,8
%A _R. H. Hardin_ Oct 06 2011
|