Let $k$ be a nonnegative integer, how to compute $\prod\limits_{i=1}^{n} A_i$ quickly and accurately, where $$A_i=\begin{bmatrix} 0 & 1\\ i^k & 1 \end{bmatrix}$$ I know if $k=0$, we can use the matrix diagonalization method. However, if $k>0$, it seems that the matrix diagonalization method is not suitable for those cases. Give a specific $k>0$, I am getting trouble by finding its closed-form. Hints and comments are welcomed. Thanks.