login
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 3,0,2,1,4 for x=0,1,2,3,4
8

%I #5 Mar 31 2012 12:36:26

%S 1,3,3,4,6,4,5,14,14,5,8,36,40,36,8,12,83,147,147,83,12,17,192,457,

%T 826,457,192,17,25,468,1554,4344,4344,1554,468,25,37,1112,5370,23930,

%U 40221,23930,5370,1112,37,54,2624,17678,131650,374645,374645,131650,17678,2624

%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 3,0,2,1,4 for x=0,1,2,3,4

%C Every 0 is next to 0 3's, every 1 is next to 1 0's, every 2 is next to 2 2's, every 3 is next to 3 1's, every 4 is next to 4 4's

%C Table starts

%C ..1....3......4........5..........8...........12.............17.............25

%C ..3....6.....14.......36.........83..........192............468...........1112

%C ..4...14.....40......147........457.........1554...........5370..........17678

%C ..5...36....147......826.......4344........23930.........131650.........705342

%C ..8...83....457.....4344......40221.......374645........3307716.......28430880

%C .12..192...1554....23930.....374645......5627727.......78510820.....1084830372

%C .17..468...5370...131650....3307716.....78510820.....1740363958....38249638826

%C .25.1112..17678...705342...28430880...1084830372....38249638826..1318320614894

%C .37.2624..58836..3801448..248312071..15273876227...844387380911.45367275773182

%C .54.6267.199055.20598890.2192473876.215684786758.18649094172670

%H R. H. Hardin, <a href="/A196485/b196485.txt">Table of n, a(n) for n = 1..144</a>

%e Some solutions for n=6 k=4

%e ..0..2..2..2....2..2..2..2....0..2..2..1....0..0..2..2....1..0..0..1

%e ..0..2..0..2....2..0..1..2....0..2..2..0....1..1..2..2....1..1..2..2

%e ..2..2..1..2....2..2..2..2....0..1..1..0....1..1..0..0....0..1..2..2

%e ..2..0..2..2....1..0..0..1....1..2..2..0....0..2..2..0....1..1..0..0

%e ..2..0..2..1....2..2..0..1....1..2..2..0....0..2..2..1....1..2..2..0

%e ..2..2..2..0....2..2..0..1....0..1..1..0....1..1..0..1....0..2..2..1

%Y Column 1 is A179070(n+2)

%K nonn,tabl

%O 1,2

%A _R. H. Hardin_ Oct 03 2011