login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244177 Number of length n+4 0..2 arrays with no five consecutive elements with pattern ababa or abbba (possibly a=b) and new values 0..2 introduced in 0..2 order. 1

%I #8 Nov 03 2018 10:32:12

%S 38,108,306,867,2457,6963,19732,55918,158464,449066,1272593,3606359,

%T 10219940,28961947,82074294,232587601,659122234,1867864486,5293278783,

%U 15000445958,42509262812,120465580152,341383384261,967434971076

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

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

%F Empirical: a(n) = a(n-1) + 3*a(n-2) + 4*a(n-3) + 5*a(n-4) + 3*a(n-5) + 2*a(n-6).

%F Empirical g.f.: x*(38 + 70*x + 84*x^2 + 85*x^3 + 50*x^4 + 27*x^5) / (1 - x - 3*x^2 - 4*x^3 - 5*x^4 - 3*x^5 - 2*x^6). - _Colin Barker_, Nov 03 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....0....1....1....0....0....1....0....1....1....0....1....0....0....0....1

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

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

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

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

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

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

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

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

%Y Column 2 of A244185.

%K nonn

%O 1,1

%A _R. H. Hardin_, Jun 21 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)