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.

A374283 a(n) is the maximal permanent of an n X n symmetric Toeplitz matrix having 0 on the main diagonal and all the integers 1, 2, ..., n-1 off-diagonal.

Original entry on oeis.org

1, 0, 1, 8, 256, 9978, 600052, 49036950, 5286564352, 725724599636
Offset: 0

Views

Author

Stefano Spezia, Jul 02 2024

Keywords

Examples

			a(5) = 9978:
  [0, 4, 3, 2, 1]
  [4, 0, 4, 3, 2]
  [3, 4, 0, 4, 3]
  [2, 3, 4, 0, 4]
  [1, 2, 3, 4, 0]
		

Crossrefs

Cf. A085807 (minimal), A358327.

Programs

  • Mathematica
    a[0]=1; a[n_]:=Max[Table[Permanent[ToeplitzMatrix[Join[{0}, Part[Permutations[Range[n - 1]], i]]]], {i, (n-1)!}]]; Array[a, 11, 0]