Let \(R\) be a commutative ring with \(1\ne 0\). Recall that the nilradical of \(R\) is the ideal \[ \mathcal {N}(R)=\{x\in R:x^n=0\text { for some positive integer }n\}. \] Prove that the following are equivalent:
- \(R\) has exactly one prime ideal;
- \(R/\mathcal {N}(R)\) is a field.