As the title says,
I am curious as to whether $A =\mathbb{R}[x,y,z]/(x^2+y^2+z^2)$ is a UFD.
I believe the answer is yes.
A thought I had was to apply Nagata's criterion, say by localizing at $z,$ to get $A_z = \mathbb{R}[x,y,z,z^{-1}]/((x/z)^2+(y/z)^2+1).$ Further, from that, I was hoping to maybe show that $A_z$ is isomorphic to $\mathbb{R}[x',y',z,z^{-1}]/(x'^2+y'^2+1)$ by sending $x/z$ to $x'$ and $y/z$ to $y'.$ However, for this I would still need to show that $\mathbb{R}[x',y']/(x^2+y^2+1)$ is an UFD, something I'm not quite sure how to do.
Any help would be welcome.