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”).
%I #7 Nov 02 2018 10:34:25
%S 4,9,21,51,127,324,844,2243,6073,16737,46905,133555,386047,1131958,
%T 3364454,10129563,30871733,95176427,296618011,933821451,2967726939,
%U 9514201392,30747183016,100097739315,328049191105,1081610514581
%N Number of length n+2 0..6 arrays with no three unequal elements in a row and new values 0..6 introduced in 0..6 order.
%H R. H. Hardin, <a href="/A243637/b243637.txt">Table of n, a(n) for n = 1..210</a>
%F Empirical: a(n) = 11*a(n-1) - 39*a(n-2) + 21*a(n-3) + 151*a(n-4) - 217*a(n-5) - 181*a(n-6) + 339*a(n-7) + 130*a(n-8) - 154*a(n-9) - 60*a(n-10).
%F Empirical g.f.: x*(4 - 35*x + 78*x^2 + 87*x^3 - 408*x^4 - 16*x^5 + 668*x^6 + 57*x^7 - 368*x^8 - 120*x^9) / ((1 - x)*(1 + x)*(1 - 2*x)*(1 - 3*x)*(1 - 2*x - x^2)*(1 - 2*x - 2*x^2)*(1 - 2*x - 5*x^2)). - _Colin Barker_, Nov 02 2018
%e Some solutions for n=6:
%e ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0
%e ..1....1....0....1....1....0....0....0....1....1....1....1....1....1....1....1
%e ..1....0....1....1....1....1....0....1....1....1....1....0....0....1....1....1
%e ..2....0....1....0....1....0....1....1....1....1....2....0....1....2....0....0
%e ..1....1....1....0....0....0....1....0....2....2....2....1....1....2....0....1
%e ..2....1....1....0....1....1....2....1....2....2....2....0....0....2....2....1
%e ..2....2....2....0....0....0....2....0....1....2....3....0....0....1....0....1
%e ..1....2....2....1....0....0....0....0....1....1....2....2....2....2....0....2
%Y Column 6 of A243641.
%K nonn
%O 1,1
%A _R. H. Hardin_, Jun 08 2014