This is the task: Find all ideals of $A = \Bbb Z\times K$ where $K$ is a field, with addition and multiplication defined by $$(m,x)+(n,y)=(m+n,x+y)$$ and $$(m,x)\cdot (n,y)=(mn, my+nx+xy).$$
I have no idea how to find the ideals. I know what an ideal is, but I have not found how can I accurately find all ideals (is there no algorithm or something like this?).
Hint: For any ideal $I \subset \Bbb Z$, you'll find that $\{(m,x): m \in I, x \in K\}$ will be an ideal of $\Bbb Z \times K$. In fact, these will be the only ideals.
Edit: I missed something. If $K$ is a field of characteristic $p$, then $mp\Bbb Z \times \{0\}$ is also an ideal for any $m \in \Bbb N$. I think that with that, we have now accounted for all ideals.
Explanation in other words:
For example, take $K = \Bbb Z_p$, the integers modulo $p$. For every $m \in \Bbb Z$, the set $m\Bbb Z \times \Bbb Z_p$ will be an ideal of $A = \Bbb Z \times \Bbb Z_p$. The set $pm\Bbb Z \times \{0\}$ will also be an ideal. There are no other ideals in $A$.