Challenge 7 - All the Ones
Challenge 7 is all about number patterns.
Maths teacher Chris Smith and pupils from Grange Academy are here to explain.
The Maths Week Scotland Daily Challenges have been set by the Scottish Mathematical Council.
So here's the challenge:
If you were to write out all the whole numbers from 1 to 1000
How many times will I write the digit 1?
Need a hint?
- Can you break 1000 into smaller groups of numbers and solve these separately?
- Could you work out how many times number one occurs in the ones, tens, and hundreds position?
- Remember some numbers have the digit 1 more than once
Solution
Worked out the answer? Here's how you can do it.
Step 1
Let's chunk the 1000 numbers and check for occurrences of the digit 1.
Between 1 and 9 there is one 1
Between 10 and 19 there are 11 (remembering that 11 itself has two ones).
And between 20 and 99 there are 8 ones.
So between 1 and 99 there are 20 occurrences of the digit 1
Step 2
Now that we know there are 20 ones between 1-99.
This will repeat for most of the groups of 100 numbers.
There are another 20 ones between each of these groups:
200 and 299, 300 and 399, 400 and 499, 500 and 599, 600 and 699, 700 and 799, 800 and 899, 900 and 999
That's another 8 groups of 20 ones.
Step 3
There are more than 20 ones between 100 and 199 because each of these numbers starts with with a one.
Between 100 and 109 there are 11 ones
Between 110 and 119 there are 21 (remembering that 111 itself has three ones).
Between 120 and 199 there are another 88
So we have a total of 120 ones between 100 and 199.
Step 4
Don鈥檛 forget the 1 in 1000!
We can now find the total:
20 x 9 + 120 +1 = 301
There are 301 ones between 1 and 1000.
Alternative solution
You can also find the answer by working out the number of ones for each place value:
There are 100 numbers with 1 in the ones (units) position
100 numbers with 1 in the tens position
100 numbers with 1 in the hundreds position
And 1 number with 1 in the thousands position
100 + 100 + 100 + 1 = 301
Which gives us the same total of 301 ones.
Maths Week Scotland 2023. listMaths Week Scotland 2023
Try out all the daily challenges from Maths Week Scotland 2023.
Maths Week Scotland 2022. listMaths Week Scotland 2022
Try out all the daily challenges from Maths Week Scotland 2022.
Maths Week Scotland 2021. listMaths Week Scotland 2021
Want more maths challenges? Here are all the problems from 2021.
More on Maths Week Scotland 2024
Find out more by working through a topic
- count1 of 8