Prove a number that is Divisible by Three
Hi Friends...
On this page we prove the theorem known from school that an integer is divisible by 3 if and only if the sum of its digits is divisible by 3. We intend our proof to be understandable for everyone who has basic familiarity with integer numbers and who is capable of concentrating his attention.
On this page we prove the theorem known from school that an integer is divisible by 3 if and only if the sum of its digits is divisible by 3. We intend our proof to be understandable for everyone who has basic familiarity with integer numbers and who is capable of concentrating his attention.
x = a0 + a1*10 + a2*102 + a3*103... + an*10n
s = a0 + a1 + a2 + a3 + ... + an
x - s = (a0 - a0) + (a1*10 - a1) + (a2*102 - a2) + ... + (an*10n - an)
x - s = a1*(10 - 1) + a2*(102 - 1) + ... + an*(10n - 1)
x - s = a1*b1 + a2*b2 + ... + an*bn
Notice that bk = 9...9 (9 occurs k times).
Hence all the numbers bk are divisible by 3.
Hence all the numbers ak*bk are divisible by 3.
Hence their sum (which is x-s) is divisible by 3.
Hence all the numbers ak*bk are divisible by 3.
Hence their sum (which is x-s) is divisible by 3.
Take your time now to realize that (since x-s is divisible by 3)
if x is divisible by 3 then so is s and vice versa.
if x is divisible by 3 then so is s and vice versa.
Comments
Post a Comment