1096 - nth Term, Matrix exponentiation