Question #136833

Prove that if n is an odd positive integer, then n^2 ≡ 1 (mod 8).

Expert's answer

n is an odd positive integer. We take n=2k+1, where k0\geq 0


n21=(n+1)(n1)=n^{2}-1=(n+1)(n-1)= (2k+2)2k=4(k+1)k

Note that k(k+1) is always an even number for any value of k.

Therefore k(k+1)=2 m

This imply 8n21|n^{2}-1

Hence n21(mod8)n^{2}\cong 1(mod 8)


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS