I have it proved for when k is odd, but when k is even, I get 8[q(2q+1)]. Is it correct to state that 8(Integer) proves that n^2-1 is divisible by 8?
Asked
Active
Viewed 1,047 times
0
-
3$k(k+1)$ is always even. – Sep 04 '16 at 19:57
-
I would say this is a duplicate. And this is an even better match. – Jyrki Lahtonen Sep 04 '16 at 20:34
5 Answers
1
There are two cases, $k$ is odd so $k+1$ is even or $k$ is even so $k+1$ is odd. In either case we have one is divisible by $2$.

Ahmed S. Attaalla
- 18,518
1
Either $k$ or $k+1$ is divisible by 2. Then $k(k+1)$ is divisible by 2 and you're done.

Sorombo
- 663
0
$$n^2-1=(n+1)*(n-1)$$ If $n\equiv3\mod4$, then $n+1\equiv0\mod4$ and $n-1\equiv2\mod4$.
If $n\equiv1\mod4$, then $n+1\equiv2\mod4$ and $n-1\equiv0\mod4$.
Either way, we have $(4k)*(4k+2)=16k^2+8k\equiv0\mod8$.

AlgorithmsX
- 4,560
0
Proof by induction:
This is true for $n=1 (0)$ and $n=3 (8)$.
For the induction step,
$\begin{array}\\ ((2n+3)^2-1)-((2n+1)^2-1) &=(4n^2+12n+9-1)-(4n^2+4n+1-1)\\ &=(12n+8)-(4n)\\ &=8n+8\\ \end{array} $
which is obviously divisible by $8$.

marty cohen
- 107,799