Originally Posted by
desiresjab
We could speak in general of the ideals generated by the ring of integers Z, where Z is really 1Z where the 1 has been dropped. The numbers generated when 1 is used as the generator are just 1∙1, 1∙2, 1∙3, 1∙4,..., in other words just the full set of integers, which contains within itself all subsets of multiples of every integer, since those multiples are just integers, too.
The ideal 2Z is the set of all even integers, plus 1 and 0, because an ideal always has to have 1 and 0 in its set.
We could have 4Z, where the ideal would be all multiples of 4 from the integers, plus the elements 1 and 0 again, adjoined or however it might be expressed in the case of 0.
An ideal is not maximal if all the elements of the ideal are found in a larger subset of Z which is smaller than Z itself. In the case of 4Z, all integers which are multiples of 4 would be contained in the larger set of merely even numbers 2Z, which lies strictly between the multiples of 4 and the multiples of 1. Therefore 4Z is not a maximal ideal, because all its elements can be found in 2Z. However, 2Z is a maximal ideal because no subset smaller than Z itself "contains" it. This use of contains actually means divides in the language of ideals, according to the link recently posted by Yes/No.
It turns out that maximal ideals are generated by ordinary prime numbers, and only by them, no distinction being made between 4n+1 primes and 4n+3 primes.
I believe all maximal ideals are prime ideals, but 0 is a prime ideal, too, so all prime ideals are not maximal.