I'm struggling with some very basic logic, I guess it is in the simplest question that will probably exist on stack exchange.
Define a set $N_{2,3} = \left\{ n \in \mathbb{Z} : 2 \nmid n \text{ and } 3 \nmid n \right\}$. Then prove it is closed under multiplication.
I was trying to use the contrapositive, and had the following solution;
By considering the contrapositive, we seek elements $n \in \mathbb{Z} : 2\mid n \text{ or } 3\mid n$. So given two elements $a,b \in N_{2,3}$ we seek to prove that $ab\in N_{2,3}$. Suppose then w.l.o.g. that $2\mid a$, then we can say $a=2c$ for some $c\in\mathbb{Z}$. Now $ab = (2c)b = 2(cb)$, and clearly $2\mid ab$, hence $ab \in N_{2,3}$.
Something just doesn't feel right with all of this, but I can't put my finger on it. I was also thinking about just saying that taking two elements $a,b \in N_{2,3}$, neither $3$ nor $2$ divide $n$ or $m$, therefore their product $ab$ is also not divisible by $3$ or $2$, hence the set is closed under multiplication.
Thanks for any help!!
Hints for a direct proof:
$N_{2,3} = \{ 6k \pm 1 \mid k \in \mathbb{Z}\}$
if $\,a_1, a_2 \in N_{2,3}\,$ then there exist $\,k_1, k_2 \in \mathbb{Z}\,$ such that $\,a_{1}=6k_{1}\pm 1\,$, $\,a_{2}=6k_{2}\pm 1\,$ and it follows that $\,a_1a_2=(6k_1\pm1)(6k_2\pm1) = 6 \,(\;\ldots\;) \pm 1\in N_{2,3}\,$.