cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

1, 0, -4, 36, 129, 3340, 2287607, 162104000, 16943055268, 4059346088384, 474967482901952, 221630954408019520
Offset: 0

Views

Author

Stefano Spezia, Jul 07 2024

Keywords

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]
		

Crossrefs

Cf. A374386 (minimal), A374388 (maximal absolute value), A374389 (minimal nonzero absolute value).
Cf. A374068 (minimal permanent), A374390 (maximal permanent).

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