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 or vertically, with no adjacent elements equal
0

%I #4 Nov 23 2013 13:07:48

%S 4,16,52,1120,13532,798692,31802528,5824262024,752183288216,

%T 442761087574020,185196365472026896,352995486371015148824

%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 or vertically, with no adjacent elements equal

%C Diagonal of A232406

%e Some solutions for n=4

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 23 2013