A square matrix P satisfies P2=I−P, where I is an identity matrix of order as order of P. if Pn=5I−8P,then n=