login
Number of n X n 0..4 arrays with each element equal to the number of its horizontal and vertical neighbors unequal to itself
0

%I #6 Dec 18 2015 18:17:46

%S 1,1,10,19,33,214,945,4847,52912,661587,10923672

%N Number of n X n 0..4 arrays with each element equal to the number of its horizontal and vertical neighbors unequal to itself

%C Diagonal of A195962

%e Some solutions for n=5

%e ..1..1..1..3..1....1..2..3..2..1....1..1..1..1..1....1..3..2..2..1

%e ..2..2..1..1..1....1..2..4..2..1....3..2..2..2..3....1..4..3..3..1

%e ..3..2..1..1..3....1..2..2..2..1....2..2..3..2..2....1..2..2..2..1

%e ..2..2..1..1..1....1..4..3..3..1....3..4..3..4..3....1..2..4..2..1

%e ..1..1..1..3..1....1..3..2..2..1....1..1..1..1..1....1..2..3..2..1

%K nonn

%O 1,3

%A _R. H. Hardin_ Sep 25 2011