The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A231043

Number of n X n 0..3 arrays x(i,j) with each element horizontally, diagonally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4 and at least one element with value (x(i,j)-1) mod 4, no adjacent elements equal, and upper left element zero