A square matrix A is said to be nilpotent of index m. If Am=0, now, if for this A, (I−A)n=I+A+A2+A3+....+Am−1, then n is equal to?
A square matrix A is called Nilpotent if there exists a positive integer m such that Am = I.