I am trying to show that $R=\Bbb Z[x,y,z,w]/(xw-zy)$ is not a UFD.
Let $I=(xw-zy)$.
Let $X=x+I$, $Y=y+I$, $Z=z+I$, and $W=w+I$. My guess is that $X$ is irreducible and therefore $(X)$ is a prime ideal. Now, $XW=ZY$, so that $ZY\in(X)$. I want to show that $Z,Y\notin(X)$ and conclude that $R$ is not a UFD.
However, I cannot confirm my guess because I don't even know how $R$ looks like and how to find an argument to show $X$ is irreducible. I think it suffices to prove that $X$ is irreducible. If it is so, the argument can be applied to $Y$, $Z$, and $W$. Therefore, $Z,Y\notin(X)$.
Any help?