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

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

%S 4,14,40,147,457,1554,5370,17678,58836,199055,666719,2226571,7472355,

%T 25062544,83919602,281223942,942759343,3159073709,10585785571,

%U 35477873281,118895583561,398433388350,1335248565663,4474760498199

%N Number of nX3 0..4 arrays with each element x equal to the number 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 Column 3 of A196485

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

%F Empirical: a(n) = 4*a(n-1) -5*a(n-2) +16*a(n-3) -22*a(n-4) +a(n-5) +13*a(n-6) -47*a(n-7) -4*a(n-8) -20*a(n-9) -46*a(n-10) +68*a(n-11) +112*a(n-12) -121*a(n-13) +243*a(n-14) -56*a(n-15) +275*a(n-16) +347*a(n-17) +286*a(n-18) +198*a(n-19) +28*a(n-20) +7*a(n-21) -9*a(n-22) -5*a(n-23) +2*a(n-24) for n>25

%e Some solutions for n=4

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_ Oct 03 2011