in Set Theory & Algebra
452 views
0 votes
0 votes
Prove the following: $3 \; | \;\left ( a^2+b^2 \right )$ if and only if $3 \; | \;a$ and $3 \; | \;b$.
in Set Theory & Algebra
by
452 views

2 Comments

Wat does dis '|' symbol mean?
0
0
"divides"
0
0

1 Answer

0 votes
0 votes
For any integer x

$x\%3 = 0\,\; or \;1 \, \, or\,\, 2$

$\therefore x^2\%3 = 0 \;\, or \;1 \; or \; 2^2 \;\%\,3=1$

$Thus \, a^2 +b^2 \;can \, be\,$

$0+0=0\; or\; 0+1=1 \;or\; 1+0=1.$

Thus the only possibility is when both $a$ and $b$ are divisible by 3.
edited by
by
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true