login
Number of length n+4 0..5 arrays with every five consecutive terms having the maximum of some two terms equal to the minimum of the remaining three terms
1

%I #4 Feb 05 2015 21:03:20

%S 2606,8142,25962,81390,242076,665256,1954106,5903724,17914000,

%T 54038937,160308249,478607126,1443443997,4369141817,13219429435,

%U 39902004658,120477837636,364791774779,1106851765150,3359640314837,10196138352130

%N Number of length n+4 0..5 arrays with every five consecutive terms having the maximum of some two terms equal to the minimum of the remaining three terms

%C Column 5 of A254698

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

%e Some solutions for n=4

%e ..5....2....3....2....2....1....1....1....1....0....0....3....4....4....1....2

%e ..0....3....0....3....0....0....1....1....3....4....2....4....5....2....0....3

%e ..5....5....0....3....0....5....5....0....3....2....4....2....2....1....3....5

%e ..3....3....0....4....0....0....1....1....2....0....3....3....2....2....0....2

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

%e ..4....3....3....5....5....1....1....1....1....0....2....5....0....2....4....0

%e ..3....4....0....3....0....0....4....4....4....1....2....4....5....2....0....2

%e ..3....3....0....3....4....0....4....1....4....1....2....2....2....0....3....5

%K nonn

%O 1,1

%A _R. H. Hardin_, Feb 05 2015