Numbers divisible by $11$ A number is divisible by $11$, when the difference between the sum of the digits in the odd positions counting from the left (the first, third, ....) and the sum of the remaining digits is either 0 or divisible by 11.
Why is that?

\begin{align}
    abcde_{10}
    &= 10000a + 1000b + 100c + 10d + e \\
    &= (9999a + a) + (1001b - b) + (99c + c) + (11d - d) + e \\
    &= (9999a + 1001b + 99c + 11d) + (a-b+c-d+e) \\
    &= 11(101a + 91b + 11c + d) + (a-b+c-d+e) \\
    &\equiv a-b+c-d+e \pmod{11}
\end{align}
Another way to look at this problem is to note that 
$10^{2n} \equiv (-1)^{2n} \equiv 1 \pmod{11}$
So $10^{2n}(10m + n) \equiv 1(-m + n) \equiv -m + n \pmod{11}$
So
\begin{align}
    abcdef_{10}
&\equiv 10^4(10a + b) + 10^2(10c + d) + 10^0(10e + f) \\
&\equiv (-a+b) + (-c + d) + (-e + f) \\
&\equiv -a+b-c+d-e+f
\end{align}
