Let $m$ be the product of first n primes (n > 1) , in the following expression :
$$m=2⋅3…p_n$$
I want to prove that $(m-1)$ is not a complete square.
I found two ways that might prove this . My problem is with the SECOND way .
First solution (seems to be working) :
The first way that I used is this :
Proof by negation : assume that $m-1$ is a complete square , i.e. $m-1 = x^2$ , then
$m=x^2+1=x^2-(-1)=(x-(-1))(x+(-1))=(x+1)(x-1)$
So we have either :
$(x+1)$ is even and $(x-1)$ is even
$(x+1)$ is even and $(x-1)$ is odd
$(x-1)$ is even and $(x+1)$ is odd
First case : $(x+1)$ is even and $(x-1)$ is even , then $m$ looks like this :
$m=2⋅otherNumbersA⋅2⋅otherNumbersB$
If we disregard $2$ then $m$ is a multiplication of $n-1$ prime numbers , then
$m$ is a multiplication of : $2 \cdot bigPrimeNumber$ . Contradiction .
The other two cases are just the same .
Second solution (my problem) :
What I'm interested in is the following solution (that I'm stuck in) :
Proof by negation : assume that : $m-1 = x^2$ and $m=2⋅3…p_n$ , means that $m$ divides by 3 , so we can write : $m-1≡2(mod 3)$ , which means that :
$m-1≡2(mod 3) ===> (m-1)-2=3q , q\in N ===> m-3=3q=m=3(1+q)$
Meaning :
$m-1=x^2$
$m-1≡2(mod 3)$
$x^2≡2(mod 3)$
How do I continue from here ? how can I use : $x^2≡2(mod 3)$ to reach a contradiction ?
Thanks
For any integer $\displaystyle x, x\equiv0, 1,2\pmod3$
$\displaystyle\implies x^2\equiv0,1^2\equiv1,2^2\equiv1\pmod3$