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!)
A269581 Number of length-n 0..6 arrays with no repeated value differing from the previous repeated value by more than one. 1

%I #7 Jan 24 2019 11:44:45

%S 7,49,343,2371,16237,110339,745013,5003189,33444515,222678103,

%T 1477520701,9774231593,64488659975,424492364229,2788409406459,

%U 18282749345115,119676718166685,782230745611877,5106010760180351,33289477289878243

%N Number of length-n 0..6 arrays with no repeated value differing from the previous repeated value by more than one.

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

%F Empirical: a(n) = 30*a(n-1) - 356*a(n-2) + 2064*a(n-3) - 5618*a(n-4) + 4356*a(n-5) + 4964*a(n-6) + 480*a(n-7) - 143*a(n-8) - 6*a(n-9).

%F Empirical g.f.: x*(7 - 161*x + 1365*x^2 - 4923*x^3 + 5405*x^4 + 4143*x^5 + 253*x^6 - 111*x^7 - 4*x^8) / ((1 - 6*x)*(1 - 24*x + 212*x^2 - 792*x^3 + 866*x^4 + 840*x^5 + 76*x^6 - 24*x^7 - x^8)). _Colin Barker_, Jan 24 2019

%e Some solutions for n=6:

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

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

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

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

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

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

%Y Column 6 of A269583.

%K nonn

%O 1,1

%A _R. H. Hardin_, Mar 01 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 July 14 05:06 EDT 2024. Contains 374291 sequences. (Running on oeis4.)