I came up to the example above in the title in order to show an element of a ring can be prime but it may fail to be irreducible.
$\mathbb{Z}_{6} = \lbrace [0], [1], [2], [3], [4], [5] \rbrace$ and I would like to show $[2] \in \mathbb{Z}_{6}$ is a prime element but it is not an irreducible element. Recall an element $p$ of a ring is prime if $p | ab$ for every other elements $a$ and $b$ in the ring, then $p | a$ or $p |b$. Also, an element $a$ of a ring is irreducible if whenever $a=bc$ then either $b$ or $c$ is a unit. In order to prove the fact $[2]$ is prime in $\mathbb{Z}_{6}$ we should assume there are $[a], [b] \in \mathbb{Z}_{6}$ such that $[2] \: | \: [a][b]=[ab]$. And from here I should proof $[2] | [a]$ or $[2] | [b]$. No problem proving a particular case, for instance $[a] = [4]$ and $[b] = [3]$. So, $[4] [3] = [12]= [0]$ and since $[2] [3] = [6] = [0]$ it yields that $[2]$ divides $[4][3]$ and obviously $[2]$ divides $[4]$. My question is that in order to proof $[2]$ is indeed a prime element of $\mathbb{Z}_{6}$ it suffices to prove it like I did for all elements $[a], [b] \in \mathbb{Z}_{6}$ such that $[2] \: | \: [a][b] $ or there is a general way to prove $[2]$ is prime? For the last one I tried the following:
If $[2] \: | \: [a] [b]= [ab]$ for $[a], [b] \in \mathbb{Z}_{6}$. Then there is an element $[k] \in \mathbb{Z}_{6}$ such that $[2][k] = [a][b]$. The last means $6t= 2k-ab$ for some $t \in \mathbb{Z}$ but I cannot come from here the existance of an $[s] \in \mathbb{Z}_{6}$ such that $[s][2]= [a]$ or $[s][2] = [b]$ :/
Also, no doubt convincing about $[2]$ is irreducible, because $[2]= [2] [4]$ and neither $[2]$ nor $[4]$ are units in $\mathbb{Z}_{6}$.
\nmid
looks better than\not|
(and\mid
looks better than|
):$$a\mid b\quad a\nmid b$$versus$$a| b\quad a\not|b$$ – Arthur Aug 26 '22 at 20:02