login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of n X 2 0..1 arrays with no element unequal to a strict majority of its horizontal, vertical and antidiagonal neighbors, with the exception of exactly one element, and with new values introduced in order 0 sequentially upwards.
1

%I #9 Feb 13 2019 08:17:49

%S 0,4,8,18,40,92,208,470,1060,2384,5352,11992,26824,59906,133592,

%T 297510,661720,1470062,3262264,7231940,16016596,35439722,78349800,

%U 173074816,382029988,842648168,1857362384,4091321478,9006604780,19815365450

%N Number of n X 2 0..1 arrays with no element unequal to a strict majority of its horizontal, vertical and antidiagonal neighbors, with the exception of exactly one element, and with new values introduced in order 0 sequentially upwards.

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

%F Empirical: a(n) = 2*a(n-1) + 3*a(n-2) - 2*a(n-3) - 6*a(n-4) - 4*a(n-5) - a(n-6) for n>8.

%F Empirical g.f.: 2*x^2*(2 - 5*x^2 - 6*x^3 - x^4 + 2*x^5 + x^6) / (1 - x - 2*x^2 - x^3)^2. - _Colin Barker_, Feb 13 2019

%e Some solutions for n=4:

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

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

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

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

%Y Column 2 of A280161.

%K nonn

%O 1,2

%A _R. H. Hardin_, Dec 27 2016