document.write( "Question 1208954: not sure how to prove this?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if n is odd then n^2 = 1 (mod 4)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "thanks!
\n" ); document.write( "

Algebra.Com's Answer #847496 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "n = an odd integer
\n" ); document.write( "n = 2k+1 for some integer k
\n" ); document.write( "n^2 = (2k+1)^2
\n" ); document.write( "n^2 = 4k^2+4k+1 after using the FOIL rule
\n" ); document.write( "n^2 = 4*(k^2+k) + 1
\n" ); document.write( "n^2 = 4*integer + 1
\n" ); document.write( "The last equation shows that whatever n^2 happens to be, it's 1 more than a multiple of 4. This only applies when n is odd.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We have shown that (n^2)/4 gives some quotient remainder 1 when n is odd.
\n" ); document.write( "And also proves n^2 = 1 (mod 4) when n is odd.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Some examples.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "
nn^2(n^2)/4n^2 (mod 4)
110 remainder 11
392 remainder 11
5256 remainder 11
74912 remainder 11
98120 remainder 11
1112130 remainder 11

\n" ); document.write( "Try some other examples out for yourself.
\n" ); document.write( "When doing modular arithmetic, we ignore the quotient to focus on the remainder only.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Extra Credit Question: Try to prove that n^2 = 0 (mod 4) when n is even. A hint is that n = 2k.
\n" ); document.write( "
\n" ); document.write( "
\n" );