Let $d \in \mathbb{Z}$, $d > 1$. Determine all the ideals of $\mathbb{Z}/d\mathbb{Z}$ which are prime or maximal
I know that $m\mathbb{Z}/md\mathbb{Z} \cong \mathbb{Z}/d\mathbb{Z}$ as rings without identity if and only if $(d,m)=1$.
I've been stuck on this problem for a good while. Is anyone is able to help me to solve this problem?
Here are some hints:
An ideal of a quotient ring $R/I$ has the form $J/I$ where $J$ is an ideal of $R$ containing $I$.
The ideals of $\Bbb Z$ are of the form $n\Bbb Z$ for some $n≥0$.
The third isomorphism theorem states that $(R/I) \; / \; (J/I) \cong R/J$
In a PID (such as $\Bbb Z$), an ideal $I$ is prime iff it is maximal.
Answer: