I'm stuck on the following exercise from Herstein's "Topics in Algebra":
"show that ($n$ is prime) $\Leftrightarrow ([a][b]=[0]\Rightarrow [a]=[b]=[0]) $ in $J_n$".
for the rightward implication I have:
$[a][b]=[ab]=[0]\Rightarrow n|ab\Rightarrow n|a$ or $n|b$ (or both) $\Rightarrow [a]=[0]$ or $[b]=[0]$
and I'm stuck on the leftward implication.
Why do I get $[a]=[0]$ OR $[b]=[0]$ and not $[a]=[0]$ AND $[b]=[0]$ in the leftward implication? Where is it that I go wrong?
I'd also appreciate any comment/hint about how to prove the remaining left implication.