OFFSET
1,8
COMMENTS
EXAMPLE
Northwest corner:
1 1 1 1 1 1
1 1 2 1 2 1
1 2 1 2 3 1
1 1 2 1 2 3
1 2 3 2 1 2
MATHEMATICA
f[i_, j_] := Min[1 + Mod[i, j], 1 + Mod[j, i]];
m[n_] := Table[f[i, j], {i, 1, n}, {j, 1, n}]
TableForm[m[6]] (* 6x6 principal submatrix *)
Flatten[Table[f[i, n + 1 - i],
{n, 1, 12}, {i, 1, n}]] (* A204014 *)
p[n_] := CharacteristicPolynomial[m[n], x];
c[n_] := CoefficientList[p[n], x]
TableForm[Flatten[Table[p[n], {n, 1, 10}]]]
Table[c[n], {n, 1, 12}]
Flatten[%] (* A204015 *)
TableForm[Table[c[n], {n, 1, 10}]]
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Jan 10 2012
STATUS
approved