I was reading the proof of this theorem and have a little trouble understanding one part of it:
Theorem: If $k > 2$ and $n$ are natural numbers, then $n^{\frac{1}{k}}$ is irrational unless $n$ is a perfect $k$th power.
Proof: Assume the contrary: $a^{k} = nb^{k}$, and some prime divisor of $n$ has an exponent that is not a multiple of $k$. Let $p$ be such a prime and note that the exponent of $p$ in $a^k$ is a multiple of $k$, but the exponent of $p$ in $b^{k}n$ is not a multiple of $k$. This violates the Fundamental Theorem of Arithmetic, so our assumption that $n$ is not a perfect kth power and $n^{\frac{1}{k}}$ is rational must be false.
The bold part is the part that is not very clear to me.
Thanks.
If all prime divisors of $n$ have an exponent wich is as multiple of $k$ we have that $n$ is a perfect $k$-power. We are assuming that the theorem is wrong, so that $n$ is not a $k$-power (i.e. there is a prime $p$ that have an exponent is not a multilple of $k$ ) but it is rational. The decomposition in prime numbers of $a^k$ and $nb^k$ is the same, so the total exponent of $p$ must be the same. In $a^k$ the exponent of $p$ is a multiple of $k$, instead in $nb^k$ it is the sum of the exponent of $p$ in $n$ (called $e_1$) and the exponent of $p$ in $b^k$ (called $e_2$ that can be also $0$). Clearly $e_1+e_2$ it is not divisible by $k$ because we are summing a multiple of $k$ and a number not divisible by $k$, so you have the contraddiction.