Suppose $A$ is a commutative ring with unity and an ideal $q$ of $A$ is $p$-primary, i.e. $\sqrt{q}=p$. It is known that for $x \in A $, we have
- if $x \not\in q$, then $(q:x)$ is $p$-primary.
- if $x\not\in p$, then $(q:x)=q$.
I was wondering whether the following is true:
if $(q:x)=q$, then $x$ is not in $p$.
Thank you for your time in advance.