I'm having some trouble finding ideals in general. The problem I'm stuck on is:
Find all prime and maximal ideals of $\mathbb{Z}_2 \times \mathbb{Z}_4$.
I know that a finite integral domain is a field, which means the prime and maximal ideals are the same. That means I just have to find one or the other, right? But I don't really know how to go about finding ideals for $\mathbb{Z}_n \times \mathbb{Z}_m$. Any help would be great. Thank you!