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

%I #4 Nov 19 2014 16:31:31

%S 1382,3096,7168,16798,39471,92497,215345,496659,1156281,2712668,

%T 6394991,15122285,35823914,84948951,201542303,478613049,1137956835,

%U 2708793686,6454683493,15393736136,36736975099,87720480870,209558129567

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

%C Column 2 of A250373

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

%e Some solutions for n=6

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

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

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

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

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

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 19 2014