How to show that $R$ is a PID if $\mathbb{Z}\subset R\subset \mathbb Q$?
I tried as follows:
Let $I$ be an ideal in $R$. Then $\mathbb Z\cap I$ is an ideal in $\mathbb Z$. But I couldn't proceed further. Please help.
How to show that $R$ is a PID if $\mathbb{Z}\subset R\subset \mathbb Q$?
I tried as follows:
Let $I$ be an ideal in $R$. Then $\mathbb Z\cap I$ is an ideal in $\mathbb Z$. But I couldn't proceed further. Please help.