Prove that every prime number greater than 3 is either one more or one less than a multiple of $6$. (Hint: Consider the contrapositive by cases.)
I tried this problem using contrapositive but It is not sure, As I'm new to this subject!!
Here what I tried,
Firstly I divide this as $P\rightarrow Q$ here,
if $\forall p$ such that $p>3$ is prime then $p+1$ or $p-1$ multiple of 6
contrapositive of this statement is $\lnot Q\rightarrow \lnot P$,
if $p+1$ is not multiple of 6 and $p-1$ is not multiple of 6 then there is no prime number $p>3$.
So I assume $p+1$ is not multiple of 6 and $p-1$ is not multiple of 6 it implies
$ p+1=3(mod6)$ and $ p-1=1(mod6)$ $\rightarrow p=2(mod6)$
$ p+1=4(mod6)$ and $ p-1=2(mod6)$ $\rightarrow p=3(mod6)$
$ p+1=5(mod6)$ and $ p-1=3(mod6)$ $\rightarrow p=4(mod6)$
from these three I said there is no prime number $p>3$
Can anyone please tell me is this correct If wrong give me hint to prove!!
proof verification
tag on this post. – Shubham Johri Oct 26 '20 at 22:56