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!)
A221519 Number of 0..3 arrays of length n with each element differing from at least one neighbor by 2 or more. 1
0, 6, 10, 36, 94, 274, 768, 2182, 6170, 17476, 49470, 140066, 396544, 1122694, 3178538, 8999012, 25477790, 72132146, 204218880, 578179846, 1636929594, 4634437764, 13120914558, 37147634242, 105171535360, 297759253766 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Column 3 of A221524.
LINKS
FORMULA
Empirical: a(n) = a(n-1) +4*a(n-2) +3*a(n-3) +a(n-4).
Empirical g.f.: 2*x^2*(3 + 2*x + x^2) / ((1 + x)*(1 - 2*x - 2*x^2 - x^3)). - Colin Barker, Oct 18 2017
EXAMPLE
Some solutions for n=6
..0....2....0....2....3....0....0....3....3....2....0....1....3....1....3....1
..3....0....3....0....0....2....3....1....0....0....2....3....0....3....1....3
..0....0....0....2....1....1....1....3....0....2....3....2....1....0....1....2
..1....3....3....3....3....3....3....2....2....0....0....0....3....1....3....0
..3....3....2....0....3....2....3....0....3....2....0....3....0....3....0....3
..1....1....0....3....0....0....1....3....1....0....3....1....3....1....3....0
CROSSREFS
Sequence in context: A025629 A068889 A203485 * A332984 A038264 A094890
KEYWORD
nonn
AUTHOR
R. H. Hardin, Jan 19 2013
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)