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!)
A239150 Number of (n+1) X (1+1) 0..3 arrays with no element equal to all horizontal neighbors or unequal to all vertical neighbors, and new values 0..3 introduced in row major order. 1

%I #7 Oct 25 2018 09:48:28

%S 1,1,7,17,96,340,1639,6623,29843,126163,554310,2380524,10363965,

%T 44756085,194216303,840357677,3642433780,15771490916,68331367227,

%U 295943443667,1282011757819,5552887116543,24053558944522,104188496250108

%N Number of (n+1) X (1+1) 0..3 arrays with no element equal to all horizontal neighbors or unequal to all vertical neighbors, and new values 0..3 introduced in row major order.

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

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

%F Empirical g.f.: x*(1 - 3*x - 4*x^2 + 8*x^3) / ((1 - x - x^2)*(1 - 3*x - 9*x^2 + 14*x^3)).

%e Some solutions for n=5:

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

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

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

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

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

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

%Y Column 1 of A239155.

%K nonn

%O 1,3

%A _R. H. Hardin_, Mar 11 2014

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 09:42 EDT 2024. Contains 371935 sequences. (Running on oeis4.)