%I #4 Feb 05 2015 21:02:38
%S 1205,3341,9507,26759,72271,183491,489135,1335839,3667545,10039379,
%T 27181211,73888637,202404193,556519333,1531160805,4209564311,
%U 11579591827,31920552169,88160917963,243693021765,673890012093,1864390340109
%N Number of length n+4 0..4 arrays with every five consecutive terms having the maximum of some two terms equal to the minimum of the remaining three terms
%C Column 4 of A254698
%H R. H. Hardin, <a href="/A254694/b254694.txt">Table of n, a(n) for n = 1..210</a>
%e Some solutions for n=6
%e ..1....1....2....2....2....0....1....0....0....1....1....0....2....1....1....1
%e ..1....4....2....0....0....3....4....4....2....0....1....3....1....0....2....1
%e ..1....2....3....4....1....3....2....0....4....3....1....2....0....1....3....0
%e ..2....2....2....3....1....4....1....3....1....1....1....2....1....0....2....4
%e ..1....2....3....2....2....3....0....0....1....4....3....3....4....0....2....3
%e ..1....0....2....2....1....3....1....0....1....1....1....1....1....0....1....1
%e ..0....4....2....0....1....4....4....0....1....1....0....4....3....0....3....1
%e ..4....2....2....2....3....3....1....1....1....1....3....2....1....3....2....1
%e ..1....4....1....2....0....3....1....3....4....1....1....2....1....0....2....4
%e ..4....2....3....2....1....0....3....0....0....1....4....3....1....4....2....3
%K nonn
%O 1,1
%A _R. H. Hardin_, Feb 05 2015