Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Nov 20 2014 19:14:34
%S 1452,3450,8377,20513,50228,122228,293972,694228,1665492,4027873,
%T 9777930,23774750,57812680,140456696,340952036,828586973,2017490885,
%U 4918984198,12004021352,29309966077,71593348278,174943782427,427696402504
%N Number of length n+6 0..2 arrays with every seven consecutive terms having the maximum of some two terms equal to the minimum of the remaining five terms.
%C Column 2 of A250154.
%H R. H. Hardin, <a href="/A250148/b250148.txt">Table of n, a(n) for n = 1..210</a>
%e Some solutions for n=6:
%e ..1....1....1....0....1....2....0....1....2....1....0....0....0....0....2....2
%e ..0....2....2....1....1....0....1....0....0....1....1....0....1....2....0....0
%e ..2....1....2....2....0....2....1....1....0....2....1....1....0....1....0....0
%e ..0....2....0....1....2....0....2....0....1....0....0....2....1....2....1....1
%e ..2....2....2....0....1....2....2....0....0....0....2....2....0....1....1....0
%e ..0....1....0....0....1....0....0....0....0....0....0....0....1....2....2....1
%e ..1....2....0....0....1....0....0....1....0....0....1....1....0....1....0....1
%e ..0....1....1....2....1....1....0....0....2....0....0....0....1....1....0....0
%e ..1....1....0....0....1....2....0....0....0....0....0....0....1....1....0....0
%e ..1....2....0....2....2....1....2....1....0....0....2....0....0....1....0....1
%e ..0....1....1....2....0....0....1....2....1....0....2....0....1....1....0....1
%e ..2....0....2....1....2....0....1....0....2....1....0....1....0....2....0....0
%Y Cf. A250154.
%K nonn
%O 1,1
%A _R. H. Hardin_, Nov 13 2014