login
Number of length n+2 0..2 arrays with the medians of every three consecutive terms nondecreasing
1

%I #5 Nov 13 2014 10:09:01

%S 27,67,162,391,900,2026,4530,9975,21694,46871,100571,214396,454934,

%T 961550,2025038,4252314,8907731,18620476,38854077,80952643,168448929,

%U 350130660,727093383,1508720630,3128504906,6483632727,13430463741

%N Number of length n+2 0..2 arrays with the medians of every three consecutive terms nondecreasing

%C Column 2 of A250140

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

%F Empirical: a(n) = 3*a(n-1) -3*a(n-2) +9*a(n-3) -15*a(n-4) +7*a(n-5) -22*a(n-6) +18*a(n-7) +a(n-8) +23*a(n-9) +4*a(n-10) -4*a(n-12) -4*a(n-13)

%e Some solutions for n=6

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

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 13 2014