Free Mathematics Class 8 ICSE notes · practise this chapter with an AI quiz

← All study notes

Subtract Any Three-Digit Number From Its Reverse and 99 Divides It

Learn to write a two-digit or three-digit number in generalised form, prove the reversal and cyclic results that follow from it, and solve cryptarithm puzzles where letters stand for digits.

Why does reversing a three-digit number and subtracting always give a multiple of 99?

Because the middle digit cancels out and what is left is times something.

Take and its reverse :



The is no accident — it is the difference between the first and last digits, . Try any other three-digit number and the same thing happens, because the tens digit contributes to both numbers and vanishes in the subtraction.

One line of algebra proves it for every case at once, which is what the generalised form of a number is for. This page covers the first part of the ICSE Class 8 Mathematics chapter on playing with numbers.

How do you write a number in generalised form?

Replace each digit by a letter and multiply it by its place value.

A two-digit number with tens digit and units digit is written , and



Its reverse is



A three-digit number with digits , , from the left:



and its reverse is



Checking the notation on a real number. For we have , , , so



Correct.

Why the bar matters. means the two-digit number whose digits are and ; without the bar means multiplied by . These are completely different things — for and , while — and mixing them up makes every subsequent line meaningless.

The constraints on the letters. Each letter stands for a single digit, so . And the leading digit cannot be , since a three-digit number cannot begin with zero — it would simply be a two-digit number instead. Those two conditions are what make the puzzles in the last section solvable.

What generalised form buys you. Testing tells you about . Working with tells you about every three-digit number in one go — so a single line of algebra replaces nine hundred separate checks. That is the whole reason this notation is introduced.

What number results can you prove with generalised form?

Several, and each is proved by expanding, then factorising until a divisor appears.

Result 1 — two digits, reverse and subtract.



So the difference is always divisible by ****. Checking with and : , and . Correct.

Result 2 — two digits, reverse and add.



Always divisible by ****. Checking: , and . Correct.

Result 3 — three digits, reverse and subtract.



Always divisible by **, and therefore by and by ** as well.

Checking with and : , and . Correct.

Notice what the algebra reveals: the **middle digit plays no part whatever**. Every three-digit number beginning with and ending with gives the same difference of , whatever its tens digit — which is a stronger statement than the original claim and could not be guessed from one example.

Result 4 — the three cyclic rearrangements. Take a three-digit number and form the two numbers got by moving each digit one place round:



Expanding all three:



Collecting the terms for each letter gives , so



And since , the sum is always divisible by **, by and by **.

Checking with , and :



and . Correct. Dividing by gives , confirming that divisor too.

A boundary case — where there is no neat rule. Adding a three-digit number to its reverse gives



which does not factorise into a single divisor, because the term survives. So the three-digit add case has no rule matching the two-digit one — and knowing when a pattern fails is as much a result as knowing when it holds.

How do you solve a cryptarithm puzzle?

A cryptarithm is an arithmetic problem in which letters stand for digits. Solving one means finding which digit each letter is.

The rules of the game:

- Each letter stands for one digit from to .
- Different letters stand for different digits, and the same letter always means the same digit.
- The leading digit of a number cannot be .
- Work from the units column leftwards, carrying as usual.

Worked example 1 — an addition. Find and :

3 A

+ 2 5

-------

B 2

- Units column: must end in . Since is a single digit, , giving with a **carry of .
-
Tens column**: , so .

Checking: . Correct.

Worked example 2 — a multiplication. Find , and :

A B

× 3

-------

C A B

Use generalised form. The two-digit number is , and the three-digit answer is :







So the two-digit number equals . Since it must have two digits, can only be , giving .

So , , . Checking: . Correct.

Worked example 3 — a single letter. Find :

1 A

× A

-------

9 A

In generalised form:







Since is a digit it cannot be , so . Checking: . Correct.

Worked example 4 — a puzzle with many answers. Find and :

A B

+ B A

-------

1 3 2

By Result 2 of the previous section, , so



That is all the puzzle tells you. Any pair of digits adding to works: , and , and .

So a cryptarithm need not have a unique answer. When a puzzle reduces to a single equation in two unknowns, the honest answer is to state the condition and give examples — and claiming one particular pair as the answer would be wrong.

The strategy that cracks most of these. Start wherever the information is tightest — usually the units column, or a column with a known digit. Then use the fact that a carry can only be or in an addition, which is often enough to pin a letter down completely.
Exam tip

Exam tip: expand first, then factorise to find the divisor

Every proof in this chapter follows the same three steps: write the numbers in generalised form, expand and collect, then factorise until a divisor appears. Show all three lines — the factorised form is where the mark is.

Name the divisor explicitly. *The difference is , which is divisible by * is a complete answer; stopping at is not.

Use the bar notation carefully: is the two-digit number , while means times .

Remember the constraints — each letter is a single digit, and a **leading digit cannot be . These are what make a puzzle solvable, and they are worth stating.

In a cryptarithm, start from the
units column and remember a carry in an addition is only ever or .

For a multiplication cryptarithm, converting to
generalised form and solving the equation is usually quicker and safer than trial.

If a puzzle leaves you with
one equation in two unknowns, say so and give the condition plus an example. Inventing a unique answer where none exists is a genuine error.

And always
check** the finished puzzle by doing the arithmetic with the digits substituted. It takes one line.
Did you know

Why does the middle digit never matter in the reversal trick?

Ask someone to pick any three-digit number, reverse it, and subtract the smaller from the larger. If you know only the first and last digits of their number, you can name the answer exactly — and you never need to ask what the middle digit was.

The algebra says why. The tens digit contributes to the number and to its reverse, and in the subtraction those two terms are identical and cancel completely. Only and survive, and their difference is .

So every number starting with and ending with , , , all the way to — gives the same difference of .

What makes this worth noticing is that no amount of testing examples would have told you. Trying and getting suggests a rule about ; trying and getting again looks like a coincidence. Only the algebra shows that the middle digit was never involved — which is the difference between spotting a pattern and understanding one.
Key takeaways

Generalised form and cryptarithms: quick revision

- Generalised form: and ; and .
- is a number; is a product. Each letter is a single digit and a **leading digit is never .
-
Two digits, subtract the reverse**: , divisible by ****. Check: .
- Two digits, add the reverse: , divisible by ****. Check: .
- Three digits, subtract the reverse: , divisible by ****, and so by and . Check: . The middle digit cancels and plays no part.
- Three cyclic rearrangements: , divisible by **, and **. Check: .
- No rule for three digits added to the reverse: it gives , which does not factorise.
- Cryptarithms: each letter is one digit, different letters differ, no leading zero; work from the units column and remember an addition carry is ** or **.
- gives , — that is .
- reduces to , so with , , — that is .
- gives , so — that is .
- reduces to , which has many solutions — , , . A cryptarithm need not be unique.

Try proving one of these results yourself from scratch and then testing it on three different numbers — the algebra tells you why, and the tests tell you that you expanded it correctly.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Playing with Numbers — Part 1Create a free account
← Back to all articles