OFFSET
1,8
COMMENTS
A204016 represents the matrix M given by f(i,j) = max{(j mod i), (i mod j)} for i >= 1 and j >= 1. See A204017 for characteristic polynomials of principal submatrices of M, with interlacing zeros.
Guide to symmetric matrices M based on functions f(i,j) and characteristic polynomial sequences (c.p.s.) with interlaced zeros:
f(i,j)..........................M.........c.p.s.
..abbreviation below: AOE means "all 1's except"
...
See A202695 for a guide to choices of symmetric matrix M for which the zeros of the characteristic polynomials are all positive.
EXAMPLE
Northwest corner:
0 1 1 1 1 1 1 1
0 1 2 2 2 2 2 2
1 2 0 3 3 3 3 3
1 2 3 0 4 4 4 4
1 2 3 4 0 5 5 5
1 2 3 4 5 0 6 6
1 2 3 4 5 6 0 7
MATHEMATICA
f[i_, j_] := Max[Mod[i, j], Mod[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}]] (* A204016 *)
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[%] (* A204017 *)
TableForm[Table[c[n], {n, 1, 10}]]
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Jan 10 2012
STATUS
approved