If $d<0$ is an integer, then $\mathbb Q[\sqrt{d}]$ is a UFD iff $d \in \{\, -1, -2, -3, -7, -11, -19, -43, -67, -163\,\}$
Link: https://en.wikipedia.org/wiki/Stark%E2%80%93Heegner_theorem