Let $P=\{\frac{a}{3^n} : a \in \mathbb{Z}, n \in \mathbb{N}\}$.
a) Which elements are irreducible in $P$: 4, 5, 6, 9, 10, 15?
b) Find out, which one of rings: $ P$, $\mathbb{Z}[i\sqrt{5}]$, $P[x]$ is a unique factorization domain.
My guess for a) is 4 and 10. Could you give me any hints for b)?