Professional Documents
Culture Documents
+an*10^n
is divisible by eleven if and only if the number
M = ( (a0+a2+a(2*[n/2]))-(a1+a3+a(2*[(n-1)/2] +1) ) is divisible by eleven.
(Please note my beautiful representation using the greatest integer value
function - for Orestes, the above says that a number leaves 0 remainder
upon division by 11 if and only if the difference between the sum of its
even-placed digits and the sum of its odd-placed digits is also divisible
by 11).
I then proceeded to prove it (it must have been somewhat along those lines):
N = a0 + a1*10 + a2 *10^2 + ... + an * 10^n = 0 mod 11, iff
a0 - a1 + a1*(10+1) + a2 + a2*(10^2-1) - ... + ... = 0 mod 11, iff
M + Sigma [i=1 to n] { ai* (10^i + (-1)^(i+1)) }
Now, Lemms:
10^i + (-1)^(i+1) is divisible by eleven for any i (Proof by M.I.):
For i = 1, 10
(This
Also, for i =
(This