login

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”).

Number of length n+3 0..4 arrays with no four elements in a row with pattern aabb (with a!=b) and new values 0..4 introduced in 0..4 order
1

%I #4 May 17 2014 19:18:56

%S 14,46,174,723,3192,14648,68819,327821,1574161,7594177,36734890,

%T 177970751,862989003,4186822990,20318525824,98621961836,478737668736,

%U 2324053123861,11282584749066,54774608227458,265922223475021

%N Number of length n+3 0..4 arrays with no four elements in a row with pattern aabb (with a!=b) and new values 0..4 introduced in 0..4 order

%C Column 4 of A242584

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

%F Empirical: a(n) = 11*a(n-1) -48*a(n-2) +131*a(n-3) -282*a(n-4) +452*a(n-5) -541*a(n-6) +530*a(n-7) -364*a(n-8) +176*a(n-9) -64*a(n-10)

%e Some solutions for n=4

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, May 17 2014