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

%I #4 Nov 25 2013 06:53:31

%S 4,52,128,19138,64290,105188684,476578496,8457919671084,

%T 50905137040126,9932347839826344524,79686710905619007242,

%U 170326243514575075459988044,1825631340786716600141970578,42650500910965333565149003898471568

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

%C Diagonal of A232515

%e Some solutions for n=5

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 25 2013