login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of length n+6 0..1 arrays with every seven consecutive terms having the maximum of some two terms equal to the minimum of the remaining five terms
1

%I #5 Nov 13 2014 21:12:33

%S 107,193,354,654,1212,2248,4166,7702,14270,26488,49213,91473,170039,

%T 316066,587450,1091860,2029557,3772854,7013851,13039135,24240444,

%U 45064052,83775863,155743025,289534518,538261784,1000662012,1860293197

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

%C Column 1 of A250154

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

%F Empirical: a(n) = 2*a(n-1) -a(n-3) +a(n-4) -a(n-5) +2*a(n-6) +4*a(n-7) -6*a(n-8) -5*a(n-9) +2*a(n-10) -2*a(n-11) +3*a(n-12) -4*a(n-13) -13*a(n-14) +8*a(n-15) +12*a(n-16) -4*a(n-17) +6*a(n-18) -2*a(n-19) -a(n-20) +22*a(n-21) -7*a(n-22) -11*a(n-23) +4*a(n-24) -4*a(n-25) +4*a(n-27) -17*a(n-28) +4*a(n-29) +5*a(n-30) -a(n-31) +a(n-32) -2*a(n-34) +6*a(n-35) -a(n-36) -a(n-37) -a(n-42)

%e Some solutions for n=6

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

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

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

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

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

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 13 2014