%I #7 Mar 30 2012 18:58:08
%S 1,3,2,2,1,3,1,3,2,1,3,2,1,3,2,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,
%T 3,2,2,1,3,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,2,1,
%U 3,2,1,3,2,1,3,2,1,3,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2,1,3,2
%N Matrix given by f(i,j)=1+[(i+2j) mod 3], by antidiagonals.
%e Northwest corner:
%e 1 3 2 1 3 2 1 3
%e 2 1 3 2 1 3 2 1
%e 3 2 1 3 2 1 3 2
%e 1 3 2 1 3 2 1 3
%e 2 1 3 2 1 3 2 1
%e 3 2 1 3 2 1 3 2
%t f[i_, j_] := 1 + Mod[i + 2 j, 3];
%t m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}]
%t TableForm[m[8]] (* 8x8 principal submatrix *)
%t Flatten[Table[f[i, n + 1 - i],
%t {n, 1, 12}, {i, 1, n}]] (* A204257 *)
%t Permanent[m_] :=
%t With[{a = Array[x, Length[m]]},
%t Coefficient[Times @@ (m.a), Times @@ a]];
%t Table[Permanent[m[n]], {n, 1, 20}] (* A204258 *)
%Y Cf. A204258.
%K nonn,tabl
%O 1,2
%A _Clark Kimberling_, Jan 14 2012
|