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!)
A229017 Number of arrays of median of three adjacent elements of some length 9 0..n array, with no adjacent equal elements in the latter. 1

%I #11 Sep 14 2018 11:59:37

%S 2,193,2054,10735,38768,111311,273124,597477,1197190,2238005,3954490,

%T 6668675,10811620,16948115,25804712,38301289,55586346,79076233,

%U 110498510,151939639,205897208,275336887,363754316,475242125,614562286,787223997

%N Number of arrays of median of three adjacent elements of some length 9 0..n array, with no adjacent equal elements in the latter.

%H R. H. Hardin, <a href="/A229017/b229017.txt">Table of n, a(n) for n = 1..158</a>

%F Empirical: a(n) = (5/126)*n^7 + (233/180)*n^6 + (1073/180)*n^5 - (85/18)*n^4 - (89/36)*n^3 + (617/180)*n^2 - (177/70)*n + 1.

%F Conjectures from _Colin Barker_, Sep 14 2018: (Start)

%F G.f.: x*(2 + 177*x + 566*x^2 - 405*x^3 - 268*x^4 + 121*x^5 + 8*x^6 - x^7) / (1 - x)^8.

%F a(n) = 8*a(n-1) - 28*a(n-2) + 56*a(n-3) - 70*a(n-4) + 56*a(n-5) - 28*a(n-6) + 8*a(n-7) - a(n-8) for n>8.

%F (End)

%e Some solutions for n=4:

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

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

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

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

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

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

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

%Y Row 7 of A229012.

%K nonn

%O 1,1

%A _R. H. Hardin_, Sep 10 2013

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 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)