Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Right now the best I can do is to enumerate all the matrices (using the trace constraint) and test them one by one... Can anyone think of a less stupid approach?
David, unfortunately I would like to avoid the additional zero eigenvalues. Is this question open even without the primitivity assumption? Thanks for the very interesting articles!