A square matrix satisfying Ak+1=A is called as periodic matrix.
If k = 2 satisfies the above condition, A becomes an idempotent matrix