How do I prove using direct proof: if $n$ is an odd integer, then $4$ divides $n^2 − 1$.
Asked
Active
Viewed 1,108 times
0
-
1Write $n=2m+1$ and see what you get. – Kavi Rama Murthy Feb 27 '20 at 05:15
-
$n^2 -1 = (n+1)(n-1).$ If n is odd both of the factors on the right are even. In fact, one must be divisible by 4. $8$ divides $n^2-1$ – user317176 Feb 27 '20 at 05:15
2 Answers
2
With $n$ odd, we have
$n = 2k + 1. \; k \in \Bbb Z; \tag 1$
then
$n^2 = 4k^2 + 4k + 1, \tag 2$
whence
$n^2 - 1 = 4k^2 + 4k = 4(k^2 + k) \Longrightarrow 4 \mid n^2 -1. \tag 3$
One may also write
$n + 1 = 2k + 2, \tag 4$
$n - 1 = 2k, \tag 5$
$n^2 - 1 = (n + 1)(n - 1) = (2k + 2)(2k) = 2(k + 1)(2k)$ $= 4k(k + 1) \Longrightarrow 4 \mid n^2 - 1. \tag 6$
You can pick whichever proof you like the most!
Robert Lewis
- 71,180
-
1In (3), I think you meant $4(k^2+\color{red}k)$; the argument is still valid – J. W. Tanner Feb 27 '20 at 05:25
-
1I think you are right. Fixed. Damn I'm glad you're around! Cheers! – Robert Lewis Feb 27 '20 at 05:27
-
1
-
1@srstsolution: you are most welcome my friend. And thanks for the "acceptance"! Cheers! – Robert Lewis Feb 27 '20 at 05:36