A204426 Permanent of the n-th principal submatrix of A204425.
1, 1, 9, 34, 132, 1032, 6936, 51912, 530712, 5005152, 53529984, 707802624, 8714718720, 119716185600, 1938416832000, 29588291712000, 496487584512000, 9509523337728000, 173318541516288000, 3434389946233344000
Offset: 1
Keywords
Programs
-
Mathematica
f[i_, j_] := Mod[2 i + j + 1, 3]; m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}] TableForm[m[8]] (* 8x8 principal submatrix *) Flatten[Table[f[i, n + 1 - i], {n, 1, 14}, {i, 1, n}]] (* A204425 *) Permanent[m_] := With[{a = Array[x, Length[m]]}, Coefficient[Times @@ (m.a), Times @@ a]]; Table[Permanent[m[n]], {n, 1, 22}] (* A204426 *)