%I #4 Oct 26 2016 08:10:11
%S 0,0,0,0,0,0,0,1,1,0,0,2,4,2,0,0,8,47,47,8,0,0,28,356,988,356,28,0,0,
%T 98,2928,18754,18754,2928,98,0,0,346,23375,376200,853778,376200,23375,
%U 346,0,0,1218,189336,7393463,41272404,41272404,7393463,189336,1218,0,0,4290
%N T(n,k)=Number of nXk 0..2 arrays with every element equal to some element at offset (-1,0) (-1,1) (0,-1) (0,1) or (1,0) both plus 1 mod 3 and minus 1 mod 3, with new values introduced in order 0..2.
%C Table starts
%C .0....0........0...........0...............0................0.................0
%C .0....0........1...........2...............8...............28................98
%C .0....1........4..........47.............356.............2928.............23375
%C .0....2.......47.........988...........18754...........376200...........7393463
%C .0....8......356.......18754..........853778.........41272404........1939853778
%C .0...28.....2928......376200........41272404.......4770227060......541407069559
%C .0...98....23375.....7393463......1939853778.....541407069559...147555355904302
%C .0..346...189336...146226480.....92010224525...61782920451544.40507831420784920
%C .0.1218..1527478..2887603008...4354590810315.7039498755007500
%C .0.4290.12337033.57051216021.206242664480842
%H R. H. Hardin, <a href="/A277659/b277659.txt">Table of n, a(n) for n = 1..112</a>
%F Empirical for column k:
%F k=2: a(n) = 3*a(n-1) +2*a(n-2) -2*a(n-4)
%F k=3: [order 23]
%e Some solutions for n=4 k=4
%e ..0..1..2..0. .0..1..2..1. .0..1..2..1. .0..1..2..0. .0..1..2..0
%e ..2..2..0..1. .2..1..0..0. .2..2..0..0. .2..1..0..1. .2..2..2..1
%e ..1..0..1..2. .2..0..1..2. .2..1..0..2. .2..1..0..2. .1..0..0..2
%e ..0..2..1..0. .2..1..0..1. .0..2..0..1. .0..2..1..0. .1..2..0..1
%K nonn,tabl
%O 1,12
%A _R. H. Hardin_, Oct 26 2016