from numpy import array
from numpy.linalg import matrix_power as matpow

A = array( [[1,0],[1,1]] )
print( matpow(A,5) )
