I am using Atiyah MacDonald to study commutative algebra and in Chapter 9, it says the following:
If you look at the paragraph after the proof of 9.1, you can see that to get unique factorization, we must also have that given a nonzero prime ideal $\mathfrak p$ and $n \neq m$, we have $\mathfrak p^n \neq\mathfrak p^m$. I was not able to see why this was the case. Any help will be appreciated.
