Find the number of ordered pairs $(p , q)$ such that $p , q $ are both prime numbers less than 50 , and $pq$+1 is divisible by 12
Edit : What i have done is i have written down all the primes below 50 congruent to modulo 12 . For example : 11 $ \equiv$ -3 $(mod 12)$
Hint Note that $p,q$ cannot be 2 or 3. Then $p,q \equiv \pm 1 \pmod{6}$.
Note that $$(6k+1)(6n+1) \equiv 6(k+n)+1 \not\equiv -1 \pmod{12} \\ (6k-1)(6n-1) \equiv -6(k+n)+1 \not\equiv -1 \pmod{12} $$
Therefore, the only posibility left is $$(6k+1)(6n-1) \equiv 6(n-k)-1 \pmod{12} $$ which is $\equiv -1 \pmod{12}$ if and only if $k-n$ is even.