show that one and only one out of n, n+2,or n+4 is divisible by 3 where n is a positive integer
Answers
GIVEN:
★ Three numbers n, n +2, n+4 .
TO PROVE:
★Only one of them is divisible by 3 .
PROOF:
Let us take that n is divided by 3.
Then by Euclid division Lemma,
For some positive integers q and r.
______________________________________
Clearly r< b
=>
But r is non negative,
So, 0≤r<3
Therefore r =0, 1,2
______________________________________
★Case 1:
When r = 0
=>
(divisible by 3)
....................
=>
(not divisible by 3)
....................
(not divisible by 3)
_____________________________________
★Case 2:
When r = 1.
=>
(not divisible by 3)
.........................
=>
(not divisible by 3)
.......................
=>
=>
(divisible by 3)
______________________________________
★Case 3:
When r = 2
=>
(not divisible by 3)
.............................
=>
=>
(divisible by 3)
................................
=>
(not divisible by 3)
______________________________________
Hence in every cases only one was found to be divisible by 3.
Hence proved.