login
Number of (n+1)X(n+1) 0..3 arrays with every element next to itself plus and minus one within the range 0..3 horizontally, vertically or antidiagonally, with no adjacent elements equal
0

%I #4 Nov 23 2013 07:56:56

%S 12,64,1192,28752,1535188,148762628,24233926664,7435365877376

%N Number of (n+1)X(n+1) 0..3 arrays with every element next to itself plus and minus one within the range 0..3 horizontally, vertically or antidiagonally, with no adjacent elements equal

%C Diagonal of A232391

%e Some solutions for n=4

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

%e ..1..0..1..3..1....1..0..1..3..1....1..0..1..3..1....1..3..0..1..0

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 23 2013