login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Number of (n+1)X(1+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
1

%I #4 Nov 23 2013 07:57:37

%S 12,18,78,190,670,1954,6224,19178,60114,187412,586490,1834516,5744318,

%T 17990734,56368598,176652636,553724396,1735923596,5442763224,

%U 17066621772,53518824910,167837668944,526369709548,1650846771550,5177663823280

%N Number of (n+1)X(1+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 Column 1 of A232391

%H R. H. Hardin, <a href="/A232384/b232384.txt">Table of n, a(n) for n = 1..210</a>

%F Empirical: a(n) = 3*a(n-1) +5*a(n-2) -9*a(n-3) -14*a(n-4) -12*a(n-5) -3*a(n-6) +23*a(n-7) +43*a(n-8) +51*a(n-9) +27*a(n-10) +a(n-11) -12*a(n-12) -6*a(n-13) -a(n-14) +a(n-15)

%e Some solutions for n=7

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

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

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

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

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

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

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

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

%K nonn

%O 1,1

%A _R. H. Hardin_, Nov 23 2013