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!)
A268451 Number of length-n 0..2 arrays with no adjacent pair x,x+1 followed at any distance by x+1,x. 1

%I #8 Jan 13 2019 16:30:10

%S 3,9,25,67,176,456,1169,2971,7496,18796,46880,116386,287775,709005,

%T 1741247,4264131,10415559,25381773,61721980,149801330,362926749,

%U 877831299,2120050410,5112962906,12314976142,29625637490,71188510125

%N Number of length-n 0..2 arrays with no adjacent pair x,x+1 followed at any distance by x+1,x.

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

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

%F Empirical g.f.: x*(3 - 9*x + 10*x^2 - 8*x^3 + 3*x^4 - x^5) / (1 - 3*x + 2*x^2 - x^3)^2. - _Colin Barker_, Jan 13 2019

%e Some solutions for n=9:

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

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

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

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

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

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

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

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

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

%Y Column 2 of A268457.

%K nonn

%O 1,1

%A _R. H. Hardin_, Feb 04 2016

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 18 06:24 EDT 2024. Contains 371769 sequences. (Running on oeis4.)