login
Permanent of the n-th principal submatrix of A204431.
4

%I #6 Jul 12 2012 00:39:59

%S 2,1,9,40,132,1032,7824,51912,530712,5619456,53529984,707802624,

%T 9591229440,119716185600,1938416832000,32061464064000,496487584512000,

%U 9509523337728000,185772505605120000,3434389946233344000

%N Permanent of the n-th principal submatrix of A204431.

%t f[i_, j_] := Mod[2 i + 2 j + 1, 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, 14}, {i, 1, n}]] (* A204431 *)

%t Permanent[m_] :=

%t With[{a = Array[x, Length[m]]},

%t Coefficient[Times @@ (m.a), Times @@ a]];

%t Table[Permanent[m[n]], {n, 1, 22}] (* A204432 *)

%Y Cf. A204231, A204263.

%K nonn

%O 1,1

%A _Clark Kimberling_, Jan 15 2012