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.

Showing 1-1 of 1 results.

A374345 a(n) is the maximal permanent of an n X n symmetric Toeplitz matrix having 1 on the main diagonal and all the first n-1 primes off-diagonal.

Original entry on oeis.org

1, 1, 5, 59, 2454, 177998, 36960008, 7670953632, 2822399976144, 1061085324952592, 598646324654443008
Offset: 0

Views

Author

Stefano Spezia, Jul 05 2024

Keywords

Examples

			a(5) = 177998:
  [1, 7, 5, 3, 2]
  [7, 1, 7, 5, 3]
  [5, 7, 1, 7, 5]
  [3, 5, 7, 1, 7]
  [2, 3, 5, 7, 1]
		

Crossrefs

Programs

  • Mathematica
    a[n_]:=Max[Table[Permanent[ToeplitzMatrix[Join[{1},Part[Permutations[Prime[Range[n-1]]],i]]]],{i,(n-1)!}]]; Join[{1},Array[a,10]]
Showing 1-1 of 1 results.