non integral domain. For instance if we take the ring $\mathcal{Z}/9\mathcal{Z}=\{\bar0,\bar1,\bar2,\bar3,\bar4,\bar5,\bar6,\bar7,\bar8\}$. It's not an integral domain (indeed : $\bar3.\bar3=\bar0$ but $\bar3\neq \bar0$).
How can we determine $\gcd(\bar2,\bar7)$ ? Can we write a Bézout's relation ? I know that we can determine $(\mathcal{Z}/9\mathcal{Z})^{\times}$ using the congruences and Bézout which make the link between $\mathcal{Z}/9\mathcal{Z}$ and the ring $\mathcal{Z}$.
Moreover if we want to determine idempotent elements of this ring it can be a problem if we cannot use Bézout.
Thanks in advance !