|
|
A369834
|
|
a(n) is the number of distinct values of the determinant of an n X n symmetric Toeplitz matrix using the integers 0 to n-1.
|
|
6
|
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
a[n_] := CountDistinct[Table[Det[ToeplitzMatrix[Part[Permutations[Join[{0}, Range[n - 1]]], i]]], {i, n !}]]; Join[{1}, Array[a, 9]]
|
|
PROG
|
(Python)
from itertools import permutations
from sympy import Matrix
def A369834(n): return len({Matrix([p[i:0:-1]+p[:n-i] for i in range(n)]).det() for p in permutations(range(n))}) # Chai Wah Wu, Feb 11 2024
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,hard,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|