login
Number of length 7+5 0..n arrays with no six consecutive terms having the maximum of any three terms equal to the minimum of the remaining three terms.
1

%I #6 Jul 23 2025 12:10:44

%S 20,9090,651144,16813550,226419876,1956551556,12294501768,60858118860,

%T 250423174860,889518620342,2803153559712,7998958658106,20995150489196,

%U 51312795029880,117921264043248,256830905369688,533584576037604

%N Number of length 7+5 0..n arrays with no six consecutive terms having the maximum of any three terms equal to the minimum of the remaining three terms.

%C Row 7 of A250014

%H R. H. Hardin, <a href="/A250021/b250021.txt">Table of n, a(n) for n = 1..33</a>

%F Empirical: a(n) = n^12 - (68/35)*n^11 + (11737/1260)*n^10 - (90763/7560)*n^9 + (29389/1008)*n^8 - (1819/63)*n^7 + (2363/72)*n^6 - (457/280)*n^5 - (31987/1008)*n^4 + (180149/3780)*n^3 - (2139/70)*n^2 + (1427/210)*n

%e Some solutions for n=2

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

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

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

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

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

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 10 2014