Homework Statement
Prove that if n is an odd positive integer, then n^2\,\equiv\,1\,\left(mod\,8\right).
Homework Equations
Theorem:
a\,\equiv\,b\left(mod\,m\right)
if and only if
a\,mod\,m\,=\,b\,mod\,m
The Attempt at a Solution
Using the theorem above:
a\,=\,n^2
b\,=\,1,\,m\,=\,8...