Given a rational number $a/b$ expressed in simplest terms (so $GCD(a,b)=1$), I want to raise it to an integer power $n$.
I think the result will always automatically be in simplest terms, but it's a long time since I was doing maths regularly, so I'm including my reasoning in an answer - please check it.
This question is related, and the answers seem particularly close, but I don't think it's a duplicate.