Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A374390
a(n) is the maximal permanent of an n X n symmetric Toeplitz matrix having 0 on the main diagonal and all the first n-1 primes off-diagonal.
4
1, 0, 4, 36, 1936, 144260, 31972988, 6800311204, 2560967581304, 975834087080060, 557171087172087364
OFFSET
0,3
EXAMPLE
a(5) = 144260:
[0, 7, 5, 3, 2]
[7, 0, 7, 5, 3]
[5, 7, 0, 7, 5]
[3, 5, 7, 0, 7]
[2, 3, 5, 7, 0]
MATHEMATICA
a[n_]:=Max[Table[Permanent[ToeplitzMatrix[Join[{0}, Part[Permutations[Prime[Range[n-1]]], i]]]], {i, (n-1)!}]]; Join[{1}, Array[a, 10]]
CROSSREFS
Cf. A374345.
Cf. A374068 (minimal permanent).
Sequence in context: A152287 A086857 A174864 * A175493 A179870 A001152
KEYWORD
nonn,hard,more
AUTHOR
Stefano Spezia, Jul 07 2024
STATUS
approved