$1)$ Let $R:=\mathbb Z[w]$, where $w=\frac{1+\sqrt{-15}}{2}$. What is the norm $N_{R/\mathbb Z}(x+yw)$ in terms of $x,y\in\mathbb Z$? Which of the integers $1,\dots,10$ occur as the norm of some element of $R$?
The norm is $N(x+yw)=x^2-y^2w^2=x^2-\frac{y^2}{2}\left(-7+\sqrt{-15}\right)$
Since the squareroot-part vanishes only if $y=0$, the possibilities are $1^2,2^2,3^2$ (because $x,y\in\mathbb Z$)
Is the norm always defined as $N(\alpha)=\alpha\bar{\alpha}$ ?
I've seen somewhere for example in the ring $R$ of algebraic integers of the field $K=\mathbb Q(\sqrt{-19})$ the norm is defined as $N(a+b(1+\sqrt{-19})/2)=a^2+ab+5b^2$
$\bf{EDIT}:$ With the hint of Daniel Fischer I got the norm $x^2+xy+4y^2$, for which the values $1,4,6,9,10$ can occur. (For $2,3,5,7,8$ there is no integer solution.)
$2)$ Which of the integers $1,\dots,10$ occur as the cardinality of $R/\mathfrak p$ for some prime ideal of $R$? May we conclude that $R$ is not a PID?
I don't know how to begin with this exercise, I've seen some cases, where the extension ring fail to be a UFD (which implies that it cannot be a PID), but here I think one has to consider the quotient, and maybe using some properties of a PID, the quotient must have prime cardinality (It is just a guess) and so disprove it in this way.
Any help is appreciated, Thanks.