Divisibility by 11
By Christopher Nicolson on Monday, August
19, 2002 - 09:07 pm:
About a year ago I discovered something that I couldn't
explain whilst mucking about during my lunch break last
summer.
If you have a number and you subtract the lead digit into the
subsequent digit and that answer into the next digit, and so on
and you end up with a total of 0 at the end of the number then it
is divisible by 11
This sounds slightly proposterous, but consider 143 (we know this
is divisble by 11)
4-1=3
3-3=0
Can anybody explain this, is it wrong or what?
It has been bugging me for a while
Cheers,
Christopher
By Paul Smith on Monday, August 19, 2002 -
10:46 pm:
This is true, although there are questions of necessity and
sufficiency.
Consider a number n written n=``am am-1¼a0 ' ' . What you are
saying is that if a0-(a1-(¼(am-1-am)¼))=0 then n is divisible
by 11.
Firstly we can simplify this condition to give a0-(a1-(¼(am-1-am)¼)) = a0-a1+¼+(-1)m am. Now we note that 10 º -1 (mod 11)Þ 10i º (-1)i (mod 11), where i is an integer. Since
n=100 a0+101a1+¼+10m am, we have n º a0-a1+¼+(-1)m am (mod 11),
and hence n º a0 -(a1-(¼(am-1-am)¼)) (mod 11). Thus n
is divisible by 11 if a0-(a1-(¼(am-1-am)¼))=0, but also if it
equals 11 (e.g. 902) or 22 (e.g. 90904) or ..., and therefore your condition
is sufficient, but not necessary for divisibility by 11.
Hope this helps.
Paul
By Julian Pulman on Monday, August 19,
2002 - 11:01 pm:
Well, say we have a number N, where the first digit is d1, and generally
the nth digit is dn (e.g. 1532Þ d1=2, d2=3,
d3=5, d4=1) then:
N=d1+10d2+102d3+¼+10n dn+1
Since 10 º -1 (mod 11),
N º d1-d2+d3+¼-(-1)n dn (mod 11)
Clearly, it is a sufficient condition for divisibility by 11 if
the difference and sum of successive terms has zero magnitude,
since all numbers divide 0. Furthermore, we require only that the
sum of the odd digits minus the sum of the even digits be a
multiple of 11.
Clearly, your example works because the sum of odd digits is 1+3
= 4, and the sum of even is 4, their difference is zero. Consider
16060418, and observe (1 + 0 + 0 + 1) - (6 + 6 + 4 + 8) = -22 =
-2x11
Hence, 16060418 is divisible by 11.
(11x1460038)
Julian