%I #4 Feb 05 2015 21:04:46
%S 8688,33048,126456,469376,1618264,4985336,17080712,60483408,214599288,
%T 752272724,2563107328,8854381384,31053941712,109232749860,
%U 383284939872,1337155562472,4669185534048,16386702006492,57650707026736
%N Number of length n+4 0..7 arrays with every five consecutive terms having the maximum of some two terms equal to the minimum of the remaining three terms
%C Column 7 of A254698
%H R. H. Hardin, <a href="/A254697/b254697.txt">Table of n, a(n) for n = 1..210</a>
%e Some solutions for n=3
%e ..5....5....5....1....4....6....6....5....0....6....1....5....0....3....1....2
%e ..0....7....4....4....3....2....1....0....7....1....1....2....6....4....3....4
%e ..5....1....5....0....3....4....1....3....4....1....7....7....1....1....3....4
%e ..3....0....4....0....3....4....1....3....7....1....1....2....4....3....6....6
%e ..3....1....4....0....5....6....7....5....4....5....1....2....1....5....5....4
%e ..3....2....6....3....1....5....7....3....2....1....2....0....0....3....0....0
%e ..5....7....1....7....5....1....1....7....5....7....1....4....4....6....3....6
%K nonn
%O 1,1
%A _R. H. Hardin_, Feb 05 2015