Let $A$ be a Hermitian matrix. Suppose there exists a matrix $B$ such that $A^3B = BA^3$. Show that $AB = BA$.
I was trying to use the fact that since $A$ is Hermitian, there exists a unitary matrix $U$ such that $UDU^* = A$, thus
$UD^3U^* B = BUD^3U^*$,
so $UD^3U^* B - BUD^3U^* = 0$, $D^3U^* BU - U^*BUD^3= 0$ (multiplying both sides by $U^*$ and $U$.
Let $U^* BU = C$, then we have $D^3C = C D^3$, but I get stuck from here...