login
Number of length n+3 0..5 arrays with no four consecutive terms having the maximum of any two terms equal to the minimum of the remaining two terms
1

%I #4 Nov 20 2014 08:44:54

%S 930,4350,20518,96866,457366,2160160,10203222,48194820,227649458,

%T 1075313612,5079307270,23992431544,113329814408,535320858558,

%U 2528623566912,11944121511580,56418852770150,266498206863362

%N Number of length n+3 0..5 arrays with no four consecutive terms having the maximum of any two terms equal to the minimum of the remaining two terms

%C Column 5 of A250387

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

%F Empirical: a(n) = 3*a(n-1) +12*a(n-2) -21*a(n-3) +25*a(n-4) +94*a(n-5) -726*a(n-6) -339*a(n-7) +2375*a(n-8) -2846*a(n-9) +190*a(n-10) +25019*a(n-11) -17838*a(n-12) -46645*a(n-13) +88607*a(n-14) -34142*a(n-15) -224595*a(n-16) +218924*a(n-17) +61757*a(n-18) -373679*a(n-19) +450866*a(n-20) +158422*a(n-21) -496612*a(n-22) +389802*a(n-23) +115004*a(n-24) -452984*a(n-25) +44872*a(n-26) +80952*a(n-27) -28224*a(n-28) +53184*a(n-29) +4608*a(n-30) -13824*a(n-31)

%e Some solutions for n=4

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 20 2014