• Foundation
  • About 13 min
  • 5 practice questions

Numbers on a number line and playing with digits

Place large numbers on a number line, count how many numbers have a given number of digits, and solve puzzles about digit sums and how often a digit appears.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Place and read 4-digit and 5-digit numbers on a number line.
  • Count how many 2-, 3-, 4- and 5-digit numbers there are.
  • Find numbers with a given digit sum and count how many times a digit is written.

A number line shows numbers in order with equal spacing, so it helps us see which number is bigger and how far apart two numbers are. Digits, the symbols 0 to 9, are the building blocks of every number, and they hide many puzzles.

Placing numbers on a number line

Suppose a number line is marked 1,000, 2,000, 3,000, … up to 10,000. To place 6,250, find the gap between 6,000 and 7,000; 250 is a quarter of 1,000, so put it a quarter of the way along. To place 9,050, go just past 9,000. Numbers close in value sit close together. When a line counts in steps of 1, such as 4,998, 4,999, 5,000, 5,001, remember that 5,000 comes right after 4,999.

Worked example 1: completing a number line

A number line has two marks labelled 3,120 and 3,130, with four equally spaced marks between them. The gap of 3,130 − 3,120 = 10 is split into 5 equal steps, so each step is 10 ÷ 5 = 2. The unlabelled marks are 3,122, 3,124, 3,126 and 3,128. Always find the size of one step before labelling.

How many numbers have a given number of digits?

Counting numbers by their number of digits
KindSmallestLargestHow many
1-digit199
2-digit109999 − 10 + 1 = 90
3-digit100999999 − 100 + 1 = 900
4-digit1,0009,9999,000
5-digit10,00099,99990,000

Notice the pattern 9, 90, 900, 9,000, 90,000: each count is 10 times the one before, because adding one more digit place gives 10 choices for that place.

Digit sums

The digit sum of a number is what you get by adding its digits. The digit sum of 482 is 4 + 8 + 2 = 14. Many numbers share a digit sum: 59, 77, 248, 806 and 3,335 all have digit sum 14.

Worked example 2: smallest and largest with digit sum 14

Smallest number: use as few digits as possible. One digit can be at most 9, so one digit is not enough; two digits must add to 14. To make the number small, the tens digit should be as small as possible, so the ones digit should be as big as possible: 9. Tens digit = 14 − 9 = 5. Smallest: 59. Largest 5-digit number: put as much as possible in the leftmost place: 9, leaving 14 − 9 = 5 for the next place, then zeros: 95,000.

Digit detectives: how often is a digit written?

If you write all the numbers from 1 to 100, how many times do you write the digit 3? Count by place. Ones place: 3, 13, 23, …, 93: that is 10 times. Tens place: 30, 31, …, 39: another 10 times. Total = 20. (The number 33 is counted twice because it uses the digit twice.)

Counting a digit from 1 to 100

  • Ones place
    • 3, 13, 23, …, 93
    • 10 times
  • Tens place
    • 30, 31, …, 39
    • 10 times
  • Total
    • 10 + 10 = 20 times

Worked example 3: digit sums of consecutive digits

Numbers whose digits are consecutive: 123, 234, 345, 456, 567, 678, 789. Digit sums: 6, 9, 12, 15, 18, 21, 24. They go up by 3 each time, because each digit goes up by 1. Each sum is also 3 times the middle digit: 3 + 4 + 5 = 12 = 3 × 4. The pattern stops after 789, because the next one would need a digit after 9.

Number of n-digit numbers: 9, 90, 900, 9,000, 90,000, … To make the smallest number with a given digit sum, use few digits and put 9s on the right; for the largest, put the big digits on the left.

Key takeaways: on a number line, first find the value of one step. There are 90 two-digit numbers, 900 three-digit numbers and so on. Digit sums and digit counts can be found by thinking place by place instead of writing everything out.

Check your understanding

  1. 1. A number line has marks at 7,400 and 7,500 with four equally spaced marks between them. What is the value of the second mark after 7,400?

    1. 7,420
    2. 7,440
    3. 7,450
    4. 7,402
    Show answer

    Answer: B. The gap 7,500 − 7,400 = 100 is split into 5 equal steps, so each step is 100 ÷ 5 = 20. The second mark after 7,400 is 7,400 + 2 × 20 = 7,440.

  2. 2. How many 3-digit numbers are there?

    1. 999
    2. 899
    3. 1,000
    4. 900
    Show answer

    Answer: D. The 3-digit numbers run from 100 to 999. Count = 999 − 100 + 1 = 900.

  3. 3. What is the smallest number whose digit sum is 17?

    1. 89
    2. 98
    3. 179
    4. 71
    Show answer

    Answer: A. One digit is at most 9, so two digits are needed. Put the larger digit, 9, in the ones place: tens digit = 17 − 9 = 8. The number is 89 (98 has the same digit sum but is larger).

  4. 4. What is the largest 4-digit number whose digit sum is 12?

    1. 9,111
    2. 9,300
    3. 9,210
    4. 6,600
    Show answer

    Answer: B. Put as much as possible on the left: 9 in the thousands place, leaving 12 − 9 = 3 for the hundreds place, and 0s after: 9,300. 9,210 and 9,111 also have digit sum 12 but are smaller.

  5. 5. Writing all the numbers from 1 to 100, how many times do you write the digit 5?

    1. 10
    2. 11
    3. 19
    4. 20
    Show answer

    Answer: D. Ones place: 5, 15, …, 95 gives 10 times. Tens place: 50 to 59 gives 10 times. Total 10 + 10 = 20 (55 has two 5s and is counted in both).

Privacy · Terms · Refunds · Delivery