Answer to Question #136832 in Discrete Mathematics for Promise Omiponle

Question #136832
(19) Show that if n is an integer then n^2 ≡ 0 or 1 (mod 4).
(20) Use the result of Exercise (19) to show that if m is a positive integer that can be written in the form m= 4k+ 3 (where k is a nonnegative integer), then m is not the sum of the squares of two integers.
1
Expert's answer
2020-10-26T19:21:13-0400

(19) Ans : Any integer nn under( mod 4 ) is

nn\equiv0 (mod 4) or nn\equiv 1 (mod 4 ) or nn\equiv 2 (mod 4) or nn\equiv 3 (mod 4)

Again we know that from property of congruences that

If aba\equiv b (mod n) , then akbka^k\equiv b^k (mod n) for any positive integer kk .

Therefore , n202n^2\equiv 0^2 (mod 4)     \implies n20n^2\equiv 0 (mod 4),

n212n^2\equiv 1^2 (mod 4)     n21\implies n^2\equiv 1 (mod 4),

n222n^2\equiv2^2 (mod 4)     n24\implies n^2 \equiv 4 (mod 4)     n21\implies n^2 \equiv 1 (mod 4),

n232n^2\equiv 3^2 (mod 4)     n29\implies n^2 \equiv 9 (mod 4)     n21\implies n^2 \equiv 1 (mod 4)

Hence , for any integer n , n20 or 1n^2\equiv 0 \ or\ 1 (mod 4)

(20) Ans : Given that mm is a positive integer in the form 4k+34k+3 , i,e m=4k+3m=4k+3 for some integer kZ0k \in \Z_{\geq 0}.

Claim : mm can not be written as a sum of square of two integer .

If possible let m=a2+b2m=a^2+b^2 , where aa and bb are two integer .

We know that from (19) , for any integer nn , n20 or 1n^2\equiv 0 \ or \ 1 (mod 4)

Therefore , the possible value of (a2+b2)(a^2+b^2) (mod 4 ) are 0 ,1 and 2 .

But mm (mod 4 )= 3 , which is a contradiction of m=a2+b2m=a^2+b^2 .

Hence , m is not the sum of square of two integer .



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!

Comments

No comments. Be the first!

Leave a comment