We have P=[25−1−3]. First compute P2=P⋅P=[4−510−15−2+3−5+9]=[−1−514]. Notice that P2=I−P, since −P+I=[−2+1−513+1]=[−1−514].
Using the recurrence P2=I−P, we compute successive powers. P3=P⋅P2=P(I−P)=P−P2=P−(I−P)=2P−I. Then P4=P⋅P3=P(2P−I)=2P2−P=2(I−P)−P=2I−3P. Continuing: P5=P⋅P4=P(2I−3P)=2P−3P2=2P−3(I−P)=5P−3I. Finally, P6=P⋅P5=P(5P−3I)=5P2−3P=5(I−P)−3P=5I−8P.
Therefore Pn=5I−8P when n=6.