login
Number of nX6 0..2 arrays with every 0 next to a 1 and every 1 next to a 2 horizontally or vertically, with no adjacent values equal
1

%I #4 Nov 17 2013 13:56:50

%S 16,146,1194,9310,75462,612364,4990482,40661766,331554282,2703411654,

%T 22045643128,179775318402,1466041167494,11955330672874,97494132143426,

%U 795051433770004,6483540298615466,52872418589641126,431167661161162982

%N Number of nX6 0..2 arrays with every 0 next to a 1 and every 1 next to a 2 horizontally or vertically, with no adjacent values equal

%C Column 6 of A232065

%H R. H. Hardin, <a href="/A232063/b232063.txt">Table of n, a(n) for n = 1..210</a>

%F Empirical: a(n) = 8*a(n-1) +8*a(n-2) -48*a(n-3) -14*a(n-4) -398*a(n-5) +433*a(n-6) -478*a(n-7) +2797*a(n-8) -2080*a(n-9) +3344*a(n-10) -10791*a(n-11) +6352*a(n-12) -11493*a(n-13) +26807*a(n-14) -11133*a(n-15) +26275*a(n-16) -39528*a(n-17) +11642*a(n-18) -40057*a(n-19) +29717*a(n-20) -9677*a(n-21) +35669*a(n-22) -5207*a(n-23) +10008*a(n-24) -12233*a(n-25) -8213*a(n-26) -10936*a(n-27) -6439*a(n-28) +6651*a(n-29) +8825*a(n-30) +7963*a(n-31) -2212*a(n-32) -4693*a(n-33) -2951*a(n-34) +362*a(n-35) +1560*a(n-36) +417*a(n-37) -25*a(n-38) -294*a(n-39) -9*a(n-40) +24*a(n-42)

%e Some solutions for n=5

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 17 2013