TITLE: Show that a specific ideal is not principal
QUESTION [7 upvotes]: In some cases, it is quite straightforward to prove that a specific ideal cannot be principal. For example, in the ring of integers of $\mathbb{Q}(\sqrt{-5})$, the ideal $(2,1+\sqrt{-5})$ is not principal, by taking norms (since this is one of the ideals in the factorization of 2).
However, in that case, we used that the norm of a generating element would have to equal $\pm 2$.
Now, let $K=\mathbb{Q}(\sqrt{-39})$ and let $I=(2,\alpha-1)$ (where $\alpha$ the root of $x^2-x+10$, the minimal polynomial of $\sqrt{-39}$). I want to show that this ideal is not principal. (specifically, it is the square of one on the primes in the factorization of $2\mathcal{O}_K$).
Any suggestions?
Thanks.

REPLY [6 votes]: Let me just say that in principle you should be able to decide whether any ideal $I$ 
in an imaginary quadratic number ring $R = \mathbb{Z}[\sqrt{-d}]$ is principal or not by looking at norms.  Indeed, because the unit group of $R$ is finite (usually just $\pm 1$ in fact), there are going to be at most finitely many elements $\alpha \in R$ with $N(\alpha) = N(I)$ and you could write a short piece of code to enumerate them all.  Assuming that $I = \langle \beta_1,\ldots,\beta_n \rangle$ (we can arrange for $n = 2$, but never mind that) we just check whether $\beta_i/\alpha \in R$ for all $i$.  If so, 
then $\langle \alpha \rangle \supset I$, and since they have the same norm they must be equal.
Added: My answer above is unnecessarily cautious.  Of course for any $\alpha \in R$ 
and any unit $u$ of $R$, the principal ideals $\langle \alpha \rangle$ and $\langle u \alpha \rangle$ are equal.  Thus the above argument works whenever you have a ring $R$ for which you can algorithmically determine all elements $\alpha$ with $\# R/\langle \alpha \rangle = N$ for any $N \in \mathbb{Z}^+$.  All rings of integers of number fields have this property.  Of course there are probably much more efficient algorithms than this: unfortunately my knowledge of the algorithmic aspects of algebraic number theory is very poor.

REPLY [5 votes]: $\rm (\beta)\: =\: (2,\:\alpha-1)\ \Rightarrow\ (\beta\:\beta')\: =\: (2)\ \Rightarrow\Leftarrow\ $ via $ \rm\ (2,\:\alpha-1)\ (2,\:\alpha'-1)\: =\: (4,\:10,\:2\alpha-2,\:2\alpha'-2)\: =\: (2)$
Simpler, avoiding (conjugate) ideals: $\rm\ \beta\ |\ 2,\:\alpha-1\ \Rightarrow\ N(\beta)\ |\ N(2),\:N(\alpha-1)\:,\:$ i.e. $\rm\:\beta\beta'\ |\ (4,10)= 2$