login
a(n) is the number of distinct values of the determinant of an n X n symmetric Toeplitz matrix having 1 on the main diagonal and all the first n-1 primes off-diagonal.
4

%I #6 Jul 15 2024 10:20:16

%S 1,1,1,2,6,22,120,717,5039,40312,362874

%N a(n) is the number of distinct values of the determinant of an n X n symmetric Toeplitz matrix having 1 on the main diagonal and all the first n-1 primes off-diagonal.

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Toeplitz_matrix">Toeplitz Matrix</a>.

%F a(n) <= (n-1)! for n > 0.

%t a[n_]:=CountDistinct[Table[Det[ToeplitzMatrix[Join[{1},Part[Permutations[Prime[Range[n-1]]], i]]]], {i, (n -1)!}]]; Join[{1}, Array[a, 10]]

%Y Cf. A000142, A369832.

%Y Cf. A374340, A374341, A374342, A374343.

%Y Cf. A374617, A374618, A374620, A374621.

%K nonn,hard,more

%O 0,4

%A _Stefano Spezia_, Jul 14 2024