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.

A369830 a(n) is the number of distinct values of the determinant of an n X n symmetric Toeplitz matrix using the integers 1 to n.

This page as a plain text file.
%I A369830 #12 Feb 12 2024 12:41:51
%S A369830 1,1,2,5,22,97,613,4749,38493,353684
%N A369830 a(n) is the number of distinct values of the determinant of an n X n symmetric Toeplitz matrix using the integers 1 to n.
%H A369830 Wikipedia, <a href="http://en.wikipedia.org/wiki/Toeplitz_matrix">Toeplitz Matrix</a>.
%F A369830 a(n) <= A000142(n).
%t A369830 a[n_] := CountDistinct[Table[Det[ToeplitzMatrix[Part[Permutations[Range[n]], i]]], {i, n !}]]; Join[{1}, Array[a,9]]
%o A369830 (Python)
%o A369830 from itertools import permutations
%o A369830 from sympy import Matrix
%o A369830 def A369830(n): return len({Matrix([p[i:0:-1]+p[:n-i] for i in range(n)]).det() for p in permutations(range(1,n+1))}) # _Chai Wah Wu_, Feb 12 2024
%Y A369830 Cf. A000142, A350953, A350954, A356865.
%Y A369830 Cf. A369831, A369832, A369833, A369834, A369835.
%K A369830 nonn,hard,more
%O A369830 0,3
%A A369830 _Stefano Spezia_, Feb 03 2024