Quote:
Originally Posted by Jose27 If  we have that there exists  such that  and so  and this last one has a factorization in integers since it's even.
If  and  odd then  and this one is even and so it has non-trivial factorization in integers. If  is even take  |
you forgot that a domain is not a UFD if some element can be written as product of
irreducible elements in more than one way.
1) we have
![a=\frac{1+\sqrt{d}}{2} \notin \mathbb{Z}[\sqrt{d}] a=\frac{1+\sqrt{d}}{2} \notin \mathbb{Z}[\sqrt{d}]](http://www.mathhelpforum.com/math-help/latex2/img/ebb60bf35a64a5a97a1f4a41cb8d88ef-1.gif)
and

thus if

then
![\mathbb{Z}[\sqrt{d}] \mathbb{Z}[\sqrt{d}]](http://www.mathhelpforum.com/math-help/latex2/img/dfc055bdf049cc9601a0ffdb0b4550fa-1.gif)
won't be integrally closed and hence it cannot be a UFD.
2) if

then

is an irreducible element of
![\mathbb{Z}[\sqrt{d}]. \mathbb{Z}[\sqrt{d}].](http://www.mathhelpforum.com/math-help/latex2/img/e93eb86af33ff52869a4552468d7c0b5-1.gif)
(very easy to see!) so if
![\mathbb{Z}[\sqrt{d}] \mathbb{Z}[\sqrt{d}]](http://www.mathhelpforum.com/math-help/latex2/img/dfc055bdf049cc9601a0ffdb0b4550fa-1.gif)
was a UFD, then

would have to be prime. now choose

such that

is an even number.
so

and thus either

or

which is obviously impossible. Q.E.D.
Remark: clearly

if and only if

so that "either ... or" statement in 2) is not necessary and we could have just said