XX Algebra

Tridiagonal Matrix

Let n>0 be an integer. Let An be an n x n matrix where the diagonal elements are 1, and the (i,j)-elements where |i-j|=1 are the imaginary unit i. The other elements are zero.

(1) Find the determinant of  An.

(2) Find the eigenvalues of  An.