login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A269676 Number of length-n 0..6 arrays with no repeated value differing from the previous repeated value by other than plus or minus one modulo 6+1. 1

%I

%S 7,49,336,2282,15358,102606,681254,4499278,29579382,193688894,

%T 1263866086,8221560942,53335049558,345145632286,2228595939654,

%U 14361269047118,92377858496182,593235919318014,3803941311320486,24358026991712302

%N Number of length-n 0..6 arrays with no repeated value differing from the previous repeated value by other than plus or minus one modulo 6+1.

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

%F Empirical: a(n) = 11*a(n-1) - 22*a(n-2) - 48*a(n-3).

%F Empirical g.f.: 7*x*(1 - 4*x - 7*x^2) / ((1 - 6*x)*(1 - 5*x - 8*x^2)). - _Colin Barker_, Jan 26 2019

%e Some solutions for n=6:

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

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

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

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

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

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

%Y Column 6 of A269678.

%K nonn

%O 1,1

%A _R. H. Hardin_, Mar 03 2016

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 19:34 EDT 2021. Contains 348118 sequences. (Running on oeis4.)