On the commutative algebra wiki, a table of properties lists that
"for a PID, the primary ideals coincide with the powers of prime ideals."
I played around with it, couldn't produce a proof, and have been searching around for a proof, since I'm sure this is a standard fact. I couldn't find a reference online. Can someone please provide a proof, or reference where I can read such a proof?
You can identify an ideal with its generator. Note that $x \in (a)$ if and only if $a\mid x$. Suppose $a=p^n$. If $x \notin (a)$ but $xy \in (a)$, since $p^n \mid xy$ we get $p\mid y$, hence $p^n\mid y^n$, and $y^n \in (a)$.
If $a=p^aq^bc$, where $c$ is any element of the ring coprime to the primes $p$ and $q$, $p\ne q$, then let $x=p^a$ and $y=q^bc$. Then $xy\in (a)$ but $x^n$ and $y^n$ are not in $(a)$ for any $n$.