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

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

%S 1,1,5,21,193,746,13302,230806,8567404,292294619

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

%C Diagonal of A195969

%e Some solutions for n=4

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

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

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

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

%K nonn

%O 1,3

%A _R. H. Hardin_ Sep 25 2011