login
Number of length n+6 0..2 arrays with no seven consecutive terms having the maximum of any three terms equal to the minimum of the remaining four terms
1

%I #5 Nov 07 2014 21:09:13

%S 805,1365,2335,4019,6949,12053,20942,36396,63995,112578,197966,347897,

%T 610999,1072605,1882670,3313692,5836415,10279049,18094244,31833358,

%U 55982977,98442660,173298007,305212887,537598707,946696326,1666491232

%N Number of length n+6 0..2 arrays with no seven consecutive terms having the maximum of any three terms equal to the minimum of the remaining four terms

%C Column 2 of A249883

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

%e Some solutions for n=6

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

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

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

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

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

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 07 2014