OFFSET
0,3
LINKS
Wikipedia, Toeplitz Matrix.
EXAMPLE
a(5) = 14284:
[1, 4, 3, 2, 1]
[4, 1, 4, 3, 2]
[3, 4, 1, 4, 3]
[2, 3, 4, 1, 4]
[1, 2, 3, 4, 1]
MATHEMATICA
a[0]=1; a[n_]:=Max[Table[Permanent[ToeplitzMatrix[Join[{1}, 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