Interactive · 1 question

Modulo Arithmetic : Some useful divisibility tests

Previous part

We'll use modulo arithmetic to show some famous and useful in practice divisibility tests.

Firstly, let's start with the simple powers of 22 and 55 :

A number is divisible by 2k2^k where k∈Nk \in \mathbb{N} if and only if the last ___ digits of the number is divisible by 2k2^k.

Choose one answer

Read · 1 min

Let's start by explaining the divisibility rule for 99. Take a number, such as 34653465. Any number can be broken down into a place value with coefficient form, like 34653465 is 3∗1000+4∗100+6∗10+53 * 1000 + 4 * 100 + 6 * 10 + 5. Now watch the steps below:

Substitute the powers of 1010 into 11 + multiples of 99: 3465=3(999+1)+4(99+1)+6(9+1)+53465 = 3(999 + 1) + 4(99 + 1) + 6(9 + 1) + 5

When we expand this, we get: 3465=3∗999+3+4∗99+4+6∗9+6+53465 = 3 * 999 + 3 + 4 * 99 + 4 + 6 * 9 + 6 + 5

We can collect the multiples of 99, so we have: 3465=x∗9+3+4+6+53465 = x * 9 + 3 + 4 + 6 + 5.

We have grouped our number. Now we see that if the sum of the digits(i.e., 3,4,6,53, 4, 6, 5) is divisible by 99, in this case it is true, the number is divisible by 99.

This is also the divisibility trick for 33, because whatever multiples we took out in the explanation above that were divisible by 99 are also divisible by 33, and the extra(the sum of the digits) should be divisible by 33.

The divisibility trick for 1111 uses the fact that:

(1−1)(1 - 1) mod 1111 = 00.

(10+1)(10 + 1) mod 1111 = 00.

(100−1)(100 - 1) mod 1111 = 00.

(1000+1)(1000 + 1) mod 1111 = 00.

(10000−1)(10000 - 1) mod 1111 = 00.

...................................................................

See the pattern above? We'll use this to check if our new number, 8916689166, is divisible by 1111.

89166=8(a∗11+1)+9(b∗11−1)+1(c∗11+1)+6(d∗11−1)+6(e∗11+1)89166 = 8(a * 11 + 1) + 9(b * 11 - 1) + 1(c * 11 + 1) + 6(d * 11 - 1) + 6(e * 11 + 1)

Taking out the multiples of 1111, we get: 89166=11(8a+9b+1c+6d+6e)+8−9+1−6+689166 = 11(8a + 9b + 1c + 6d + 6e) + 8 - 9 + 1 - 6 + 6.

Therefore, if our number is divisible by 1111, the number obtained by adding alternative digits and subtracting the sums should be divisible by 1111.

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems