I need to prove that there are infinitely many primes with remainder of 2 when divided by 3. I started out similarly to Euclid's classic proof of an infinite number of prime numbers:
Suppose there is only a finite set of prime numbers with remainder of 2 when divided by 3, then we can write their product as:
$$ P = q_1 \cdot q_2 \cdots q_r, \qquad \text {for some integer } r, = $$ $$ (3q_1+2)\cdot(3q_2+2)\cdots(3q_r+2), $$ for integers $q_r$.
This is where I am stuck. I do not know how to get to a similar contradiction as Euclid did when he considered $P$+$1$ and how the $q_i$'s could not divide $P$+$1$ since they divided $P$. (If they divided $P$+$1$ then they would divide $P$ and $1$, where dividing $1$ is the contradiction). Any ideas on how I can get to a similar contradiction?
Origin — Elementary Number Theory — Jones — p28 — Exercise 2.6