Excercise 14.57Prove that $\mathbb{Z}$ is a principal ideal domain.Proof.Let $I$ be an ideal of $\mathbb{Z}$. By the Well-Ordering Principle, pick the smallest natural number $a$ in $I$. Since $I$ is an ideal, $a\mathbb{Z}\subset I$. Assume for contradiction that there exists $b\in I$ such that $b\not\in a\mathbb{Z}$. There exists $b'$ such that $b=an+b' (n\in\mathbb{Z},\ 0