login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A221512 Number of 0..5 arrays of length n with each element differing from at least one neighbor by 2 or more, starting with 0. 1
0, 4, 13, 80, 381, 1970, 9940, 50495, 255980, 1298632, 6586395, 33407907, 169448914, 859472004, 4359369001, 22111382192, 112152257687, 568853184739, 2885309153794, 14634723355722, 74229524701062, 376503348140640 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Column 5 of A221515.

LINKS

R. H. Hardin, Table of n, a(n) for n = 1..210

FORMULA

Empirical: a(n) = 2*a(n-1) +11*a(n-2) +20*a(n-3) +17*a(n-4) -3*a(n-5) +a(n-6).

Empirical g.f.: x^2*(4 + 5*x + 10*x^2 - 2*x^3) / (1 - 2*x - 11*x^2 - 20*x^3 - 17*x^4 + 3*x^5 - x^6). - Colin Barker, Oct 18 2017

EXAMPLE

Some solutions for n=6

..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0

..2....2....4....5....2....3....3....4....3....5....2....3....3....3....2....5

..3....5....0....3....3....0....1....0....0....2....3....5....0....5....0....2

..1....1....0....1....1....5....3....2....5....2....5....0....2....0....0....0

..2....1....4....2....1....0....5....1....4....4....2....3....1....5....4....3

..4....3....1....4....4....2....2....3....2....0....5....1....4....1....0....5

CROSSREFS

Sequence in context: A197942 A140417 A301396 * A061143 A123333 A197752

Adjacent sequences:  A221509 A221510 A221511 * A221513 A221514 A221515

KEYWORD

nonn

AUTHOR

R. H. Hardin, Jan 18 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 23:49 EDT 2019. Contains 325092 sequences. (Running on oeis4.)