show that n2 -1 is divisible by 8, if nis an positive odd integer
We know that any odd positive integer is of the form 4q + 1 or 4q + 3 for some integer q.
So,
Case I :
When n = 4q + 1
n2 – 1 = (4q + 1)2 – 1 = 16q2 + 1 + 8q – 1
= 8q (2q – 1)
⇒ n2 – 1 is divisible by 8
Case II :
When n = 4q + 3
n2 – 1 = (4q + 3)2 – 1 = 16q2 + 9 + 24q – 1
= 8 (2q2 + 3q + 1)
⇒ n2 – 1 is divisible by 8
Hence n2 – 1 is divisible by 8 for an odd positive integer n.