Determine all positive integers nnn for which there exist n×nn \times nn×n real invertible matrices AAA and BBB that satisfy AB−BA=B2AAB - BA = B^2AAB−BA=B2A.
Hidden so you can work on the problem first.