CDS Mathematics · Number System
Divisibility Rules & Missing Digits
The tests that decide divisibility from a number's written form alone — digit sums for 3 and 9, alternating sums for 11, the last few digits for the powers of 2 and 5 — and how to run them backwards to recover a digit the paper has hidden.
Why this matters
Nine PYQs, two of them HARD, and the smallest unit in the chapter by count — but it is pure mechanism, so it is close to guaranteed marks. Every question is one of two shapes: apply a test, or apply a test in reverse to find a hidden digit. The traps are all in the wording, not the mathematics.
Concept 1 of 4: The divisibility test table
Definition
Learn the table below cold. Two structural facts make it much shorter than it looks:
- For a composite divisor, test its coprime prime-power parts separately: , , , .
- Testing and is not enough for ; you need and , because carries two factors of 2.
| Divisor | Test | Reason |
|---|---|---|
| 2 | last digit is even | |
| 3 | digit sum divisible by 3 | |
| 4 | last two digits divisible by 4 | |
| 5 | last digit is 0 or 5 | |
| 6 | passes both the 2 and 3 tests | , coprime parts |
| 8 | last three digits divisible by 8 | |
| 9 | digit sum divisible by 9 | |
| 10 | last digit is 0 | |
| 11 | alternating digit sum divisible by 11 | Alternate the signs from the units digit leftwards. A result of counts as divisible. |
| 16 | last four digits divisible by 16 | |
| 25 | last two digits are 00, 25, 50 or 75 | |
| 12 | passes the 4 and 3 tests | , not Testing 2 and 6 is wrong: 18 passes both and is not a multiple of 12. |
| 7 and 13 | no short test worth learning | has order 6 modulo both |
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 1 · Number System · Divisibility Rules and Missing Digits
The smallest odd composite number is 9, not 1, 3 or 15
For a composite divisor, split into COPRIME parts
Concept 2 of 4: Recovering a hidden digit from a divisibility condition
Definition
Procedure for a hidden digit under a 3- or 9-condition:
- Add the known digits to get a partial sum .
- Require modulo 3 or 9, so .
- Solve within and list every solution; modulo 3 there are usually three, modulo 9 usually one or two.
With two hidden digits and , the condition fixes only , so the answer is a count of digit pairs — and any extra condition (B is odd, ) prunes that list.
Hidden-digit condition
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 2 · Number System · Divisibility Rules and Missing Digits
A mod-9 condition often has TWO digit solutions, not one
With two hidden digits the condition fixes only their SUM
Concept 3 of 4: Divisors for which only the tail of the number matters
Definition
Because , we have modulo and modulo . So for these divisors, and its last digits leave the same remainder:
- and : last two digits;
- and : last three digits;
- and : last four digits.
This works for remainders, not just for a yes-or-no answer — the remainder of on division by 16 equals the remainder of its last four digits.
Tail rule
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 3 · Number System · Divisibility Rules and Missing Digits
The tail rule works only for divisors built from 2s and 5s
Reading the tail of a described number is where this goes wrong
Concept 4 of 4: What to do when the divisor has no usable test
Definition
Two workable routes when the divisor is awkward:
- Bounded trial. If the condition leaves a single unknown digit, testing through is only ten divisions and the answer is unique. This is a legitimate exam method, not a fallback.
- Structural factorisation. Rewrite the number in a form whose factors you can see. is the most useful such fact: any six-digit repeated block is automatically divisible by 7 and 13, and grouping digits in threes reduces a long number modulo 7, 11 and 13 at once.
For a counting question over a whole range, look for the constraint that shrinks the search before enumerating.
The 1001 grouping fact
Worked example
Practice this conceptself-check · 4 quick reps
The same idea in a real exam question:
Example 4 · Number System · Divisibility Rules and Missing Digits
Trial is the intended method here, so do not hunt for a rule
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (3)
- Recovering a hidden digit from a divisibility condition
Hidden-digit condition
- Divisors for which only the tail of the number matters
Tail rule
- What to do when the divisor has no usable test
The 1001 grouping fact
Reference tables (1)
The divisibility test table13 rows
| Divisor | Test | Reason |
|---|---|---|
| 2 | last digit is even | |
| 3 | digit sum divisible by 3 | |
| 4 | last two digits divisible by 4 | |
| 5 | last digit is 0 or 5 | |
| 6 | passes both the 2 and 3 tests | , coprime parts |
| 8 | last three digits divisible by 8 | |
| 9 | digit sum divisible by 9 | |
| 10 | last digit is 0 | |
| 11 | alternating digit sum divisible by 11 | Alternate the signs from the units digit leftwards. A result of counts as divisible. |
| 16 | last four digits divisible by 16 | |
| 25 | last two digits are 00, 25, 50 or 75 | |
| 12 | passes the 4 and 3 tests | , not Testing 2 and 6 is wrong: 18 passes both and is not a multiple of 12. |
| 7 and 13 | no short test worth learning | has order 6 modulo both |
Watch out for (7)
- The smallest odd composite number is 9, not 1, 3 or 15→ The divisibility test table
- For a composite divisor, split into COPRIME parts→ The divisibility test table
- A mod-9 condition often has TWO digit solutions, not one→ Recovering a hidden digit from a divisibility condition
- With two hidden digits the condition fixes only their SUM→ Recovering a hidden digit from a divisibility condition
- The tail rule works only for divisors built from 2s and 5s→ Divisors for which only the tail of the number matters
- Reading the tail of a described number is where this goes wrong→ Divisors for which only the tail of the number matters
- Trial is the intended method here, so do not hunt for a rule→ What to do when the divisor has no usable test
Test yourself on Number System
20 past CDS questions from this chapter, timed at 24 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.