A231220 Number of (n+2)X(n+2) 0..2 arrays with no element unequal to a strict majority of its horizontal, vertical, diagonal and antidiagonal neighbors, with values 0..2 introduced in row major order.
1, 4, 21, 182, 4298, 117178, 5930126, 495739986
Offset: 1
Keywords
Examples
Some solutions for n=4 ..0..0..0..0..0..0....0..0..0..1..1..1....0..0..0..0..1..1....0..0..0..1..1..1 ..0..0..1..1..0..0....0..0..0..1..1..1....0..0..0..0..1..1....0..0..0..1..1..1 ..1..1..1..1..1..1....1..1..1..0..0..0....0..0..0..0..1..1....0..0..1..1..1..1 ..1..1..1..1..1..1....1..1..1..0..0..0....0..0..0..0..1..1....1..1..1..1..1..1 ..2..2..2..2..2..2....0..0..0..1..1..1....0..0..0..0..1..1....1..1..1..1..1..1 ..2..2..2..2..2..2....0..0..0..1..1..1....0..0..0..0..1..1....1..1..1..1..1..1
Comments