For $\mathbb{Z}_{18}$, the ideals are generated by the divisors of 18. The divisors of 18 are 1, 2, 3, 6, 9, and 18. So the ideals are:
$$\langle 1 \rangle = \mathbb{Z}_{18}, \quad \langle 2 \rangle = \{0, 2, 4, 6, 8, 10, 12, 14, 16\},$$
$$\langle 3 \rangle = \{0,
Show more…