OFFSET
0,3
LINKS
Wikipedia, Toeplitz Matrix.
EXAMPLE
a(5) = 32:
[1, 3, 2, 5, 7]
[3, 1, 3, 2, 5]
[2, 3, 1, 3, 2]
[5, 2, 3, 1, 3]
[7, 5, 2, 3, 1]
MATHEMATICA
a[n_]:=Min[Select[Table[Abs[Det[ToeplitzMatrix[Join[{1}, Part[Permutations[Prime[Range[n-1]]], i]]]]], {i, (n-1)!}], Positive]]; Join[{1}, Array[a, 10]]
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Stefano Spezia, Jul 05 2024
STATUS
approved