$R$ is a commutative ring. Let $(x)$ denote the ideal generated by $x \in R$. If $(a) = (b)$, is it true that there exists a unit $u$ such that $a =ub$?
If $R$ is integral domain, then it's simple. Simply choose $a = ub$ and $va =b$ so that $b(uv - 1) = 0$. But what if $R$ is not integral domain? I wrote a short code to run all $\mathbb Z/n\mathbb Z$ for $n < 10000$ and can't find any contradiction. I also tried construction like $\mathbb Z/n\mathbb Z \times \mathbb Z/n\mathbb Z$ and let $b = (0, x)$ and $uv = (y, 1)$ so that $b(uv-1) = 0$. None of them works. Any suggestions?