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!)
A221595 Number of 0..7 arrays of length n with each element differing from at least one neighbor by 1 or less. 1
0, 22, 62, 484, 2226, 13056, 67936, 374342, 2006006, 10894988, 58789204, 318224626, 1719926984, 9302621856, 50297494954, 271995651900, 1470758893578, 7953136851900, 43005796059376, 232551746953140, 1257506529312924 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Column 7 of A221596.

LINKS

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

FORMULA

Empirical: a(n) = 5*a(n-1) +3*a(n-2) -16*a(n-3) +65*a(n-4) -14*a(n-5) +23*a(n-6) +2*a(n-7) +8*a(n-8).

Empirical g.f.: 2*x^2*(11 - 24*x + 54*x^2 - 14*x^3 + 18*x^4 + 6*x^6) / (1 - 5*x - 3*x^2 + 16*x^3 - 65*x^4 + 14*x^5 - 23*x^6 - 2*x^7 - 8*x^8). - Colin Barker, Oct 19 2017

EXAMPLE

Some solutions for n=6

..7....3....0....2....5....0....6....2....3....3....4....6....5....6....6....6

..6....2....0....2....5....0....6....3....3....2....4....7....4....6....5....6

..5....4....0....7....3....1....6....7....5....3....3....4....6....0....7....1

..0....4....1....7....4....0....6....6....6....6....3....3....6....0....7....0

..1....5....3....0....0....3....7....4....5....6....2....2....2....5....2....5

..1....4....4....1....1....3....6....4....5....6....2....3....2....6....1....6

CROSSREFS

Sequence in context: A156797 A216299 A255431 * A051874 A140390 A069178

Adjacent sequences:  A221592 A221593 A221594 * A221596 A221597 A221598

KEYWORD

nonn

AUTHOR

R. H. Hardin, Jan 20 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 January 26 17:00 EST 2022. Contains 350599 sequences. (Running on oeis4.)