If A=⎡⎣10121⎤⎦ and B=[bij] is a matrix such that An−A2+I=B (where n∈N). If 2(b21+b22)=7 then, n is
Matrix A is such that A2=2A−I, where I is the Identity matrix. Then for n≥2, An is equal to