Matrix expo ..how power of transformation matrix calculated

How to know the power of transformation matrix whether for nth ternm power will be n-1 or n-k or n-k+1 very confused