%I #5 Mar 31 2012 12:36:30
%S 1,1,1,1,1,1,1,9,9,1,1,9,22,9,1,1,19,53,53,19,1,1,45,162,181,162,45,1,
%T 1,73,526,967,967,526,73,1,1,147,1605,4447,7845,4447,1605,147,1,1,291,
%U 5011,20411,58434,58434,20411,5011,291,1,1,539,15073,99367,462825,755338
%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,1,0 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 1's, every 4 is next to 4 0's
%C Table starts
%C .1...1.....1.......1.........1...........1.............1...............1
%C .1...1.....9.......9........19..........45............73.............147
%C .1...9....22......53.......162.........526..........1605............5011
%C .1...9....53.....181.......967........4447.........20411...........99367
%C .1..19...162.....967......7845.......58434........462825.........3560859
%C .1..45...526....4447.....58434......755338.......9343735.......115041017
%C .1..73..1605...20411....462825.....9343735.....182232300......3721024215
%C .1.147..5011...99367...3560859...115041017....3721024215....122868970059
%C .1.291.15073..473509..27478512..1444324039...75873083886...4026169282135
%C .1.539.46562.2249979.213540131.18148792772.1533554674879.132420058875113
%H R. H. Hardin, <a href="/A197503/b197503.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 ..0..0..0..0....1..2..2..1....1..2..2..1....0..0..0..0....0..0..0..0
%e ..0..0..4..0....3..1..1..3....3..1..1..3....0..0..4..0....0..0..4..0
%e ..0..4..0..1....1..0..0..1....1..0..0..1....0..4..0..0....0..0..0..1
%e ..0..0..1..3....0..0..4..0....0..0..0..0....0..0..1..0....0..0..1..3
%e ..1..3..1..1....0..0..0..0....0..4..0..0....0..0..3..1....1..3..1..1
%e ..2..1..0..0....0..0..0..0....0..0..0..0....0..0..1..2....2..1..0..0
%K nonn,tabl
%O 1,8
%A _R. H. Hardin_ Oct 15 2011
|