Fox, the FoxSumKids mascotFoxSumKids Start FoxSumKids

Digit puzzles: math practice, grade 8

Practise “Digit puzzles” online for free. Five right answers in a row make the tasks harder, two mistakes in a row make them easier. Right answers earn coins for games.

  • grade 8
  • Levels 1–5
  • Step-by-step solutions
  • Free

Start FoxSumKids

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

  1. A number is divisible by 5 if it ends in 0 or 5. Take the first digit as small as you can.
  2. 1 + 1 + 5 = 7
  3. 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.

Example problems

These are only examples: the practice makes new tasks every time. 🖨 Printable worksheet

  1. What is the largest three-digit number with a digit sum of 22?

    Answer

    994

    1. For the largest number the first digits are as big as they can be.
    2. 9 + 9 + 4 = 22
    3. Answer: 994.
  2. How many three-digit numbers are divisible by 14?

    Answer

    64

    1. Numbers from 1 to 999 divisible by 14: 71. From 1 to 99: 7. The three-digit ones are the difference:
    2. 71 − 7 = 64
  3. What is the smallest four-digit number with all different digits and a digit sum of 22?

    Answer

    1489

    1. For the smallest number take the first digits as small and the last ones as big as you can, all digits different.
    2. 1 + 4 + 8 + 9 = 22
    3. Answer: 1489.
  4. What is the smallest four-digit number with all different digits and a digit sum of 17?

    Answer

    1079

    1. For the smallest number take the first digits as small and the last ones as big as you can, all digits different.
    2. 1 + 0 + 7 + 9 = 17
    3. Answer: 1079.
  5. The digits of a two-digit number add up to 10. Swapping its digits makes the number 54 bigger. What is the number?

    Answer

    28

    1. If the digits are a and b, swapping them makes the number bigger by 9 × (b − a): each 1 between the digits gives 9.
    2. 54 ÷ 9 = 6
    3. The digits add up to 10 and differ by 6: find the two digits.
    4. Answer: 28.
  6. How many three-digit numbers with all different digits have a digit sum of 15?

    Answer

    56

    1. Go through the first digit and count the numbers that fit for each:
    2. 4 + 6 + 4 + 6 + 8 + 8 + 6 + 8 + 6 = 56

Practise “Digit puzzles” online

Free and with no sign-up: the first task opens in a couple of seconds.

Start FoxSumKids

More topics: Grade 8

← All topics