OFFSET
1,2
MATHEMATICA
f[i_, j_] :=
Floor[(2 i + 2 j + 4)/4] - Floor[(i + j + 2)/4];
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}]] (* A204560 *)
Permanent[m_] :=
With[{a = Array[x, Length[m]]},
Coefficient[Times @@ (m.a), Times @@ a]];
Table[Permanent[m[n]], {n, 1, 15}] (* A204561 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 16 2012
STATUS
approved