Q1: define an array a(n)= det(mat(n)), when a(n)==0? Q2: when k=?, mat(k)^(-1) is an interger matrix?