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.

A271570 Number of distinct eigenvalues of n X n matrices with elements {-1, 0, +1}.

This page as a plain text file.
%I A271570 #27 Sep 16 2023 12:02:31
%S A271570 3,21,375,24823
%N A271570 Number of distinct eigenvalues of n X n matrices with elements {-1, 0, +1}.
%D A271570 Steven E. Thornton & Robert M. Corless, The Bohemian Eigenvalue Project, Poster Presented at The International Symposium on Symbolic and Algebraic Computation (ISSAC 2016). Wilfrid Laurier University, July 19-22, 2016.
%H A271570 Robert Corless and Steven Thornton, <a href="http://www.bohemianmatrices.com/assets/images/posters/The_Bohemian_Eigenvalue_Project-FIRS_2017.pdf">The Bohemian Eigenvalue Project</a>, 2017 poster.
%H A271570 Steven E. Thornton, <a href="https://github.com/steventhornton/BHIME-Project">GitHub repository for code used to generate this sequence</a>.
%H A271570 Steven E. Thornton & Robert M. Corless, <a href="http://www.bohemianeigenvalues.com/">The Bohemian Eigenvalue Project</a>.
%F A271570 a(n) <= 3^(n^2). - _Robert P. P. McKone_, Sep 16 2023
%t A271570 (* Program not suitable to compute more than 3 terms *)
%t A271570 a[n_] := Module[{r, iter}, iter = Table[{r[k], {-1, 0, 1}}, {k, 1, n^2}]; Eigenvalues /@ (Table[Table[(r[# + j]& /@ Range[n]), {j, 0, n^2 - n, n}], Sequence @@ iter // Evaluate] // Flatten[#, n^2 - 1]&) // Flatten // Union // Length];
%t A271570 Table[an = a[n]; Print["a(", n, ") = ", an]; an, {n, 1, 3}] (* _Jean-François Alcover_, Jun 17 2018 *)
%Y A271570 Number of characteristic polynomials: A272658.
%Y A271570 Cf. A060722.
%K A271570 nonn,more,hard
%O A271570 1,1
%A A271570 _Steven E. Thornton_, Jul 13 2016