OFFSET
1,1
COMMENTS
A persymmetric (or Hankel) matrix has M[ i,j ] = M[ i-k,j+k ] for all i and j (matrix is constant along antidiagonals).
EXAMPLE
For n = 1 and 2 the possible values for the determinant are {-1, 0, 1} and {-2, -1, 0, 1}.
MATHEMATICA
M[row_] := With[{m=Length[row]}, Table[RotateLeft[row, n][[1 ;; (m+1)/2]], {n, 0, (m-1)/2}]];
a[n_] := Det[M[#]]& /@ Tuples[{-1, 0, 1}, 2n-1] // Union // Length;
Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 1, 6}] (* Jean-François Alcover, Sep 04 2017 *)
CROSSREFS
KEYWORD
nonn,nice,more
AUTHOR
Fred Lunnon, Dec 11 1999
EXTENSIONS
More terms from Sam Handler (sam_5_5_5_0(AT)yahoo.com), Aug 08 2006
a(10)-a(12) from Bert Dobbelaere, Jan 26 2019
STATUS
approved