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.

Original entry on oeis.org

1, 1, 2, 5, 22, 97, 613, 4749, 38493, 353684
Offset: 0

Views

Author

Stefano Spezia, Feb 03 2024

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := CountDistinct[Table[Det[ToeplitzMatrix[Part[Permutations[Range[n]], i]]], {i, n !}]]; Join[{1}, Array[a,9]]
  • Python
    from itertools import permutations
    from sympy import Matrix
    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

Formula

a(n) <= A000142(n).