The determinants of matrices with recursive entries