I would like to know method of finding validity of the statement by proofs.
1) $8$ does not divides $x^2 - 7$ for any integral value of $x$? 2) For any odd integer $x;$ the term $(x-1)^2$ is always divisible by $4.$
May I know proof please.
I would like to know method of finding validity of the statement by proofs.
1) $8$ does not divides $x^2 - 7$ for any integral value of $x$? 2) For any odd integer $x;$ the term $(x-1)^2$ is always divisible by $4.$
May I know proof please.
On
Hints:
1) Consider squares modulo 8. $1^2 \equiv 1 \bmod 8, 2^2 \equiv 4 \bmod 8, 3^2 \equiv 1 \bmod 8, 4^2 \equiv 0 \bmod 8$ and the pattern repeats. (because $(4k+i)^2 \equiv i^2 \bmod 8$ for $i = 1, 2, 3, 4$.
Now, subtract 7 from each case, modulo $8$. What do you get?
2)$x$ is an odd integer $\implies (x-1) $ is an even integer $\implies (x-1) = 2k$ for some $k$. Now, what can you conclude about $(x-1)^2$?
1) If $x$ is even, then $x^2-7$ is odd, so it is not divisible by $8$.
If $x=2k-1$ for $k\in\mathbb Z$, then $$x^2-7=(2k-1)^2-7=4k^2-4k-6=2(2(k^2-k-1)-1)$$ is not divisible by $8$ because $2(k^2-k-1)-1$ is odd.
2) If $x=2k-1$ for $k\in\mathbb Z$, then $(x-1)^2=(2k-2)^2=4(k-1)^2$ is divisible by $4$.