login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Number of (4+1)X(n+1) 0..2 arrays with no element unequal to a strict majority of its horizontal, diagonal and antidiagonal neighbors, with values 0..2 introduced in row major order
1

%I #4 Nov 08 2013 17:23:54

%S 12,20,272,1096,8340,55788,345022,2502891,16525492,113585134,

%T 799820476,5455236715,38507382540,268963425191,1882384615623,

%U 13300278749856,93433472155344,659971112697126,4663864398488500,32941704521261841

%N Number of (4+1)X(n+1) 0..2 arrays with no element unequal to a strict majority of its horizontal, diagonal and antidiagonal neighbors, with values 0..2 introduced in row major order

%C Row 4 of A231396

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

%e Some solutions for n=5

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 08 2013