login
Number of length n+4 0..n arrays with no five consecutive elements with pattern ababa or abbba (with a!=b) and new values 0..n introduced in 0..n order
1

%I #5 Jul 04 2014 14:18:54

%S 14,111,661,3582,19309,107995,636642,3968291,26107708,180739086,

%T 1312462869,9968432106,78988145772,651486251644,5581801486248,

%U 49587865220286,456026409915745,4334757419499766,42530730236808465

%N Number of length n+4 0..n arrays with no five consecutive elements with pattern ababa or abbba (with a!=b) and new values 0..n introduced in 0..n order

%C Diagonal of A244702

%H R. H. Hardin, <a href="/A244693/b244693.txt">Table of n, a(n) for n = 1..47</a>

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

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

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Jul 04 2014