%I #5 Mar 31 2012 12:36:26
%S 1,1,1,1,1,1,1,3,3,1,1,7,16,7,1,1,17,37,37,17,1,1,41,117,145,117,41,1,
%T 1,99,372,971,971,372,99,1,1,239,1168,4787,8781,4787,1168,239,1,1,577,
%U 3613,24837,63549,63549,24837,3613,577,1,1,1393,11247,134167,543386,770738
%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,2,3,0,4 for x=0,1,2,3,4
%C Every 0 is next to 0 1's, every 1 is next to 1 2's, every 2 is next to 2 3'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...............1
%C .1....1.....3.......7........17..........41............99.............239
%C .1....3....16......37.......117.........372..........1168............3613
%C .1....7....37.....145.......971........4787.........24837..........134167
%C .1...17...117.....971......8781.......63549........543386.........4387171
%C .1...41...372....4787.....63549......770738......10178170.......128517885
%C .1...99..1168...24837....543386....10178170.....209244430......4167002491
%C .1..239..3613..134167...4387171...128517885....4167002491....130044352635
%C .1..577.11247..700787..35669727..1637625413...83787848176...4091795380757
%C .1.1393.35047.3689127.291499339.20917250887.1681864142052.128451721526375
%H R. H. Hardin, <a href="/A196578/b196578.txt">Table of n, a(n) for n = 1..312</a>
%e Some solutions for n=6 k=4
%e ..0..0..0..0....0..0..0..0....0..0..3..0....0..0..0..0....0..0..0..0
%e ..0..3..0..3....0..3..0..3....3..0..0..3....0..3..3..0....0..0..0..3
%e ..0..2..3..0....0..3..0..0....0..0..0..0....0..0..0..0....0..0..0..0
%e ..3..0..0..0....0..0..0..0....3..0..0..3....0..3..3..0....0..3..2..0
%e ..0..0..0..3....0..0..0..3....0..3..3..0....3..0..0..3....0..0..3..0
%e ..0..3..0..0....0..0..0..0....0..0..0..0....0..0..3..0....0..0..0..0
%Y Column 2 is A001333(n-1)
%K nonn,tabl
%O 1,8
%A _R. H. Hardin_ Oct 04 2011
|