I have to prove that any number of the form $3n+2$ has a prime factor of the form $3m+2$. Ive started the proof
I tried saying by the division algorithm the prime factor is either the form 3m,3m+1,3m+2.
Case 1: $3m$ suppose $3m$ does divide $3n+2$. That means $3mr=3n+2$ where $r$ is some integer. But we get $mr-n= 2/3$ and since $mr-n$ is an integer that's a contradiction. Thus $3m$ does not work.
Case 2: $3m+1$ Same argument here
Case 3: $3m+2$ By the fundamental theorem of arithmetic every integer is divisible by a prime. But not sure what to do from here.
Hint $ $ If $\,N = 3n+2\,$ has no prime factors of form $\,3k+2,\,$ then all prime factors must have form $\,3k+1,\,$ hence their product $\,N\,$ has form $\,3k+1,\,$ contra $\,N = 3n+2.$
Generally any factorization of an integer $\not\equiv 1\!\pmod{\!m}\,$ must include a factor $\not\equiv 1\!\pmod{\!m}\,$ simply because integers $ \equiv 1\!\pmod{\!m}\,$ are closed under multiplication (form a monoid). Similarly for other sets of integers closed under multiplication. Consider the set T of integers divisible by $10,\,$ i.e. those with unit digit $= 0.\,$ Any factorization of an integer $\,n\not\in T\,$ must include a factor $\not\in T,\,$ else all factors have unit digit $= 0\,$ thus so too does their product $\,n,\,$ i.e. $\,n\in T,\,$ contra hypothesis. Similarly, one could let $\,T\,$ be all powers of $\,10,\,$ etc. This property of factors of elements in the complement of $T$ is just an equivalent complementary restatement of the closure of $T$ under multiplication.
See also this post on the complementary view of subgroups, which generalizes: integer $\times$ noninteger = noninteger; $\ $ rational $\times$ irrational = irrational, etc.