I am solving the problem of factoring 1001 into prime elements in $\Bbb Z[\sqrt 7]$.
I have a couple of questions regarding this.
It seems that $\Bbb Z[\sqrt 7]$ is an Euclidean domain. But I do not know what norm it has. (It seems that you have to choose an element close to a quotient cleverly, to show the norm defined naturally indeed is a norm of an Euclidean domain.) In general, for what squarefree $c$ is $\Bbb Z[\sqrt c]$ an Euclidean domain and what its norm looks like? People usually talk about this ring by using the terms from the theory of quadratic fields, which I am not familiar with, and there seems to be an ambiguity about the term 'Euclidean.' I am confused. I'm not concerned with quadratic fields for the time being and need a description in the language of elementary ring theory.
How can I solve the original problem? More generally, what are the primes of $\Bbb Z[\sqrt c]$?
I would be most grateful if you could provide a clue.
Yes, the ring $\mathcal{O}_7=\mathbb{Z}[\sqrt{7}]$ is the ring of integers of $\mathbb{Q}[\sqrt{7}]$, and it is Norm-Euclidean, $N(x)=N(a+b\sqrt{7})=a^2-7b^2$. In general, the ring $\mathcal{O}_d$, for $d$ squarefree, is Norm-Euclidean, if and only if $$ d= -11,-7,-3,-2,-1, 2, 3, 5, 6, 7, 11, 13, 17, 19, 21, 29, 33, 37, 41, 57, 73. $$ The norm is $N(a+b\sqrt{d})=a^2-db^2$. Note however, that if $d\equiv 1(4)$, then $\mathcal{O}_d=\mathbb{Z}[(1+\sqrt{d})/2]$.
If $\alpha\in \mathcal{O}_d$ has a norm which is prime in $\mathbb Z$, then $\alpha$ is irreducible in $\mathcal{O}_d$. This is in general a sufficient condition, but not a necessary one.
The answer how to factor, say $1001$ has been given here.