
Primary ideals in Z
In Dummit and Foote on page 682 Example 1 reads as follows:

The primary ideals in are 0 and the ideals for p a prime and .

So given what D&F say, (4) is obviously not primary.
I began trying to show from definition that (4) was not a primary from the definition, but failed to do this
Can anyone help in this ... and come up with an easy way to show that (4) is not primary?
Further, can anyone please help me prove that the primary ideals in are 0 and the ideals for p a prime and .
Peter
Note: the definition of a primary idea is given in D&F as follows:
Definition. A proper ideal Q in the commutative ring R is called primary if whenever and then for some positive integer n.
Equivalently, if and then

Re: Primary ideals in Z
(4) is primary, as and 2 is prime. Suppose . Then . Suppose , so .
But we can have two cases, either or :
If , as and , we get , which means therefore .
If , then , and so .
You can use a similar proof to prove that the primary ideals are (0) and .