The goal is to find all ideals of $\mathbb{Z}_n$.
First of all, I would like to know wheter this is a set of all congruence classes modulo $n$ or a set stricted to $\{0, 1, ..., n-1 \}$ with modular arithmetics? Because I do not know which one is easier to work with.
Secondly, besides trivial ideals i.e. $\{0\}, \mathbb{Z}_n$ how do I find others? I do know that it will be somehow connected to the primes dividing $n$ and such ideals will be maximal, but what with other integers being composite of prime divisors of $n$?
Would be grateful for any hints to start with because I know something in theory, but I have trouble with writing this down.