What the topic is about
Digit puzzles: the smallest or largest number with a given digit sum, how many numbers fit, which number you get when the digits are swapped.
Where it leads
Digit problems link arithmetic and logic: place value, digit sums and divisibility. They come up often in competitions and in harder exam questions. Reasoning about each place separately helps in programming and in understanding binary.
How to solve
- For the smallest number put the smallest digit you can in front and nines at the end.
- For the largest, the other way round: the biggest digits in front.
- When you must count, go through the first digit and count the choices for the rest.
A worked example
What is the smallest three-digit number that is divisible by 5 and has a digit sum of 7?
Answer: 115
- A number is divisible by 5 if it ends in 0 or 5. Take the first digit as small as you can.
- 1 + 1 + 5 = 7
- Answer: 115.
Typical mistakes
- Putting 0 as the first digit.
- Forgetting "all digits different".
How to tell it is learnt
- Builds the smallest and biggest number with a given digit sum.
- Counts numbers with a property without missing any.
- Reasons about the places from left to right.
How to help at home
Find a number on a receipt or a number plate and ask: what is its digit sum, and what is the smallest number with the same sum?
A game without a phone
Quick problems: "The smallest three-digit number with a digit sum of 20?" "The biggest four-digit number with all different digits?" Rearrange the digits of a house or car number: what is the biggest number you can make? How many numbers from 1 to 100 contain the digit 7? The answer surprises many grown-ups.



