login
Number of length n+2 0..9 arrays with no three unequal elements in a row and no three equal elements in a row and new values 0..9 introduced in 0..9 order
1

%I #4 Jun 09 2014 11:06:55

%S 3,6,12,25,53,116,259,594,1389,3323,8095,20113,50814,130632,341034,

%T 904331,2432412,6636111,18345401,51381503,145690844,418123477,

%U 1213876444,3563936878,10577119368,31722511379,96106797203,294036698701

%N Number of length n+2 0..9 arrays with no three unequal elements in a row and no three equal elements in a row and new values 0..9 introduced in 0..9 order

%C Column 9 of A243729

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

%F Empirical: a(n) = 9*a(n-1) -203*a(n-3) +336*a(n-4) +1869*a(n-5) -4354*a(n-6) -9225*a(n-7) +25044*a(n-8) +27419*a(n-9) -76104*a(n-10) -53277*a(n-11) +119771*a(n-12) +68688*a(n-13) -77292*a(n-14) -45360*a(n-15)

%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....0....1....0....0....1....1....1....1....0....1....0....0

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Jun 09 2014