A204239 Permanent of the n-th principal submatrix of A204237.
2, 33, 1112, 69908, 6960472, 1010678724, 201542214592, 52862893123648, 17646889124736128, 7306075691359891008, 3673978840975236778496, 2205779786212911066883328, 1558502652244224074264296960
Offset: 1
Keywords
Programs
-
Mathematica
f[i_, j_] := Max[3 i - j, 3 j - i]; 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, 12}, {i, 1, n}]] (* A204237 *) Table[Det[m[n]], {n, 1, 22}] (* A204238 *) Permanent[m_] := With[{a = Array[x, Length[m]]}, Coefficient[Times @@ (m.a), Times @@ a]]; Table[Permanent[m[n]], {n, 1, 14}] (* A204239 *)