OFFSET
0,4
LINKS
Wikipedia, Toeplitz Matrix.
EXAMPLE
a(5) = 946:
[0, 1, 4, 2, 3]
[1, 0, 1, 4, 2]
[4, 1, 0, 1, 4]
[2, 4, 1, 0, 1]
[3, 2, 4, 1, 0]
MATHEMATICA
a[0]=1; a[n_]:=Max[Table[Abs[Det[ToeplitzMatrix[Join[{0}, Part[Permutations[Range[n-1]], i]]]]], {i, (n-1)!}]]; Array[a, 11, 0]
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Stefano Spezia, Jul 02 2024
STATUS
approved