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!)
A221594 Number of 0..6 arrays of length n with each element differing from at least one neighbor by 1 or less. 1

%I #9 Oct 19 2017 06:11:59

%S 0,19,53,361,1593,8475,41401,210101,1047967,5267759,26387005,

%T 132384353,663707187,3328545333,16690533369,83697779149,419705882541,

%U 2104659535459,10553975797069,52923856787737,265391103246031,1330826582140067

%N Number of 0..6 arrays of length n with each element differing from at least one neighbor by 1 or less.

%C Column 6 of A221596.

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

%F Empirical: a(n) = 4*a(n-1) +5*a(n-2) -7*a(n-3) +33*a(n-4) +17*a(n-5) +24*a(n-6) -5*a(n-7) +2*a(n-8).

%F Empirical g.f.: x^2*(19 - 23*x + 54*x^2 + 17*x^3 + 42*x^4 - 9*x^5 + 3*x^6) / (1 - 4*x - 5*x^2 + 7*x^3 - 33*x^4 - 17*x^5 - 24*x^6 + 5*x^7 - 2*x^8). - _Colin Barker_, Oct 19 2017

%e Some solutions for n=6

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

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

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

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

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

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

%K nonn

%O 1,2

%A _R. H. Hardin_, Jan 20 2013

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 17 21:22 EDT 2024. Contains 371767 sequences. (Running on oeis4.)