login
Number of nX5 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 4,3,0,2,1 for x=0,1,2,3,4
1

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

%S 5,57,386,3675,31899,260394,2246059,19246379,164006734,1400773245,

%T 11965906663,102191052974,872793094884,7454220149765,63663510400324,

%U 543728417138307,4643793942698920,39660975017361508,338730301259452052

%N Number of nX5 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 4,3,0,2,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 0's, every 3 is next to 3 2's, every 4 is next to 4 1's

%C Column 5 of A196974

%H R. H. Hardin, <a href="/A196971/b196971.txt">Table of n, a(n) for n = 1..200</a>

%e Some solutions for n=4

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_ Oct 08 2011