Let AAA and BBB be real n×nn \times nn×n matrices such that A2+B2=ABA^2 + B^2 = ABA2+B2=AB. Prove that if BA−ABBA - ABBA−AB is an invertible matrix then nnn is divisible by 333.
Hidden so you can work on the problem first.