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!)
A269685 Number of length-n 0..3 arrays with no repeated value differing from the previous repeated value by plus or minus one modulo 3+1. 1
4, 16, 64, 248, 944, 3544, 13168, 48536, 177776, 647896, 2351728, 8508440, 30701168, 110537560, 397266544, 1425629336, 5109684848, 18295104472, 65449056880, 233970500888, 835908980336, 2984966034520, 10654610339440, 38017445912984 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Empirical: a(n) = 6*a(n-1) - 7*a(n-2) - 6*a(n-3).
Conjectures from Colin Barker, Jan 27 2019: (Start)
G.f.: 4*x*(1 - 2*x - x^2) / ((1 - 3*x)*(1 - 3*x - 2*x^2)).
a(n) = 2^(-n)*(-17*2^(2+n)*3^n + (51-15*sqrt(17))*(3-sqrt(17))^n + 3*(3+sqrt(17))^n*(17+5*sqrt(17))) / 51.
(End)
EXAMPLE
Some solutions for n=9:
..1. .0. .1. .2. .0. .2. .0. .1. .0. .0. .1. .0. .0. .0. .1. .0
..2. .3. .3. .0. .3. .0. .3. .0. .1. .3. .1. .1. .0. .1. .0. .2
..0. .1. .0. .3. .2. .1. .0. .2. .2. .0. .1. .2. .2. .3. .0. .3
..0. .2. .0. .0. .1. .0. .2. .2. .3. .2. .2. .3. .2. .2. .3. .1
..0. .1. .1. .1. .3. .1. .2. .0. .1. .2. .3. .2. .2. .1. .1. .3
..2. .1. .2. .3. .0. .0. .1. .2. .1. .1. .1. .1. .0. .2. .3. .3
..0. .3. .1. .2. .2. .0. .3. .1. .0. .2. .3. .0. .0. .0. .0. .0
..0. .1. .0. .1. .3. .3. .1. .3. .1. .2. .2. .1. .2. .1. .0. .1
..3. .3. .0. .2. .3. .1. .0. .0. .2. .1. .1. .3. .2. .2. .2. .3
CROSSREFS
Column 3 of A269690.
Sequence in context: A232425 A180239 A006811 * A269614 A267975 A269489
KEYWORD
nonn
AUTHOR
R. H. Hardin, Mar 03 2016
STATUS
approved

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 September 8 13:51 EDT 2024. Contains 375753 sequences. (Running on oeis4.)