If A is a square matrix such that A2=A nd (1+A)n=I+λA, then λ is equal to
Matrix A is such that A2=2A−I, where I is the Identity matrix. Then for n≥2, An is equal to