Let $R$ be a commutative ring and $p$ be a prime ideal which is not zero ideal. If $p^m=p^n$ for $m, n \in \mathbb{N}$, $m=n$?
Added: Sorry, what I really wanted to ask is the case $p^m=p^n\neq 0.$
Let $R$ be a commutative ring and $p$ be a prime ideal which is not zero ideal. If $p^m=p^n$ for $m, n \in \mathbb{N}$, $m=n$?
Added: Sorry, what I really wanted to ask is the case $p^m=p^n\neq 0.$
No, not necessarily. For example, let $$R = \mathbb{Q}[x]/(x^2-x),\;p=(x),\;m = 1,\;n=2$$
No. For example, there exists a ring with an idempotent maximal ideal:
$R=F\times F$ Where $F$ is the field of two elements. All powers of that prime ideal are equal.
It is not even true for domains: there is a domain with a nontrivial idempotent maximal ideal
It is also not true for local rings: there is a local ring with an idempotent nontrivial ideal: Take an indeterminate $x$, form the collection of powers of $x$ of the form $x^{1/2^n}$, generate an $F$ algebra with them, then take the quotient by $(x)$.
It is true for dedekind domains, I think, and possibly for a larger class, I don't know.