A374387 a(n) is the maximal determinant of an n X n symmetric Toeplitz matrix having 0 on the main diagonal and all the first n-1 primes off-diagonal.
1, 0, -4, 36, 129, 3340, 2287607, 162104000, 16943055268, 4059346088384, 474967482901952, 221630954408019520
Offset: 0
Examples
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]
Links
- Wikipedia, Toeplitz Matrix.
Crossrefs
Programs
-
Mathematica
a[n_]:=Max[Table[Det[ToeplitzMatrix[Join[{0},Part[Permutations[Prime[Range[n-1]]],i]]]],{i,(n-1)!}]]; Join[{1},Array[a,10]]
Extensions
a(11) from Giorgos Kalogeropoulos, Jul 10 2024