login
Number of (n+2)X(n+2) 0..2 arrays with every consecutive three elements in every row, column, diagonal and antidiagonal having exactly two distinct values, and new values 0 upwards introduced in row major order
0

%I #4 Dec 23 2014 15:43:18

%S 117,432,1197,3582,14229,60588,275598,1334322,6954849,38574297,

%T 227384559,1439372097

%N Number of (n+2)X(n+2) 0..2 arrays with every consecutive three elements in every row, column, diagonal and antidiagonal having exactly two distinct values, and new values 0 upwards introduced in row major order

%C Diagonal of A252861

%e Some solutions for n=4

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Dec 23 2014