If AAA and BBB are two non-zero n×nn \times nn×n matrices such that A2+B=A2BA^2 + B = A^2BA2+B=A2B, then
AB=IAB = IAB=I
A2B=IA^2B = IA2B=I
A2=IA^2 = IA2=I or B=IB = IB=I
A2B=BA2A^2B = BA^2A2B=BA2
Tagged Types of matrices and matrix algebra. Machine-assigned, so read it as a strong shortlist rather than a verdict.