Text this: On the matrix equation Xn=B over finite fields