%I #9 Oct 10 2024 07:24:32
%S 1,1,0,1,40,545,13805,526773,18551951,768561384,31451535983,
%T 1273675677456,87868166035113,7601760995500947,664087819207293468
%N a(n) is the maximal absolute value of the determinant of an n X n symmetric Toeplitz matrix having 1 on the main diagonal and all the integers 1, 2, ..., n-1 off-diagonal.
%H Lucas A. Brown, <a href="https://github.com/lucasaugustus/oeis/blob/main/A374239%2B40%2B41%2B42.py">Python program</a>.
%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Toeplitz_matrix">Toeplitz Matrix</a>.
%F a(n) = max(abs(A374239(n)), A374240(n)).
%e a(5) = 545:
%e [1, 1, 4, 2, 3]
%e [1, 1, 1, 4, 2]
%e [4, 1, 1, 1, 4]
%e [2, 4, 1, 1, 1]
%e [3, 2, 4, 1, 1]
%t a[0]=1; a[n_]:=Max[Table[Abs[Det[ToeplitzMatrix[Join[{1}, Part[Permutations[Range[n - 1]], i]]]]], {i, (n-1)!}]]; Array[a, 11, 0]
%Y Cf. A351609, A374139.
%Y Cf. A374239 (minimal), A374240 (maximal), A374242 (minimal nonzero absolute value).
%K nonn,hard,more
%O 0,5
%A _Stefano Spezia_, Jul 01 2024
%E a(11)-a(14) from _Lucas A. Brown_, Oct 10 2024