OFFSET
0,3
LINKS
Wikipedia, Toeplitz Matrix.
EXAMPLE
a(5) = 3340:
[0, 5, 7, 3, 2]
[5, 0, 5, 7, 3]
[7, 5, 0, 5, 7]
[3, 7, 5, 0, 5]
[2, 3, 7, 5, 0]
MATHEMATICA
a[n_]:=Max[Table[Det[ToeplitzMatrix[Join[{0}, Part[Permutations[Prime[Range[n-1]]], i]]]], {i, (n-1)!}]]; Join[{1}, Array[a, 10]]
CROSSREFS
KEYWORD
sign,hard,more
AUTHOR
Stefano Spezia, Jul 07 2024
EXTENSIONS
a(11) from Giorgos Kalogeropoulos, Jul 10 2024
STATUS
approved