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!)
A232517 Number of (2+1)X(n+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally, diagonally or antidiagonally, with no adjacent elements equal 1

%I #6 Nov 23 2014 17:11:20

%S 4,52,32,326,250,2138,1956,13976,14782,91760,109522,604450,799026,

%T 3994420,5761416,26475334,41161880,175967762,291918330,1172568978,

%U 2057927044,7831923864,14436579566,52424836208,100861979186,351610320834

%N Number of (2+1)X(n+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally, diagonally or antidiagonally, with no adjacent elements equal

%C Row 2 of A232515

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

%F Empirical: a(n) = 6*a(n-2) +a(n-3) +3*a(n-4) +a(n-5) -2*a(n-6) -2*a(n-7).

%F Empirical: G.f.: -2*x*(-2-26*x-4*x^2-5*x^3+3*x^4+5*x^5+5*x^6) / ( 1-6*x^2-x^3-3*x^4-x^5+2*x^6+2*x^7 ). - _R. J. Mathar_, Nov 23 2014

%e Some solutions for n=7

%e ..1..0..1..0..1..0..1..0....0..1..2..0..1..2..1..2....2..1..0..1..2..1..2..1

%e ..1..2..1..2..1..2..1..0....2..1..2..0..1..2..1..0....2..1..0..1..2..1..0..1

%e ..1..0..1..0..1..2..1..2....0..1..2..0..1..2..1..0....0..1..0..1..2..1..2..1

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 25 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 August 28 05:00 EDT 2024. Contains 375477 sequences. (Running on oeis4.)