Is $\mathbb{Z}[t,t^{-1}]$ a PID? What about $\mathbb{Z}[\sqrt{2}i]$?
I don't know how to prove that a set IS a PID. I only know how to prove when it is NOT (by proving it is not UFD, for example).
How can I show an ideal can only be generated by a single element? In $\mathbb{Z}$ I understand, there is a minimality argument. But in those sets up there I have no idea how to start.