https://123dok.net/document/qmj2g15q-when-is-a-pair-of-integer-matrices-mortal.html