MathDemos:is_prime(2^i+3^j)

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