A={{0,1,0,0},{0,0,-1,0},{0,0,0,1},{-7,0,0,0}};
MatrixPower[A,4]//MatrixForm
MatrixPower[A,4]==7IdentityMatrix[4]