PrepShorts · Study sheet · Class 6 Mathematics · Chapter 3, Number PlayPrepShorts

Chapter 3 · Number Play

How many numbers have a given number of digits, and why digit sums behave

यह वीडियो हिंदी में भी · Watch in Hindi

Playing with digits11 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

11 min.

Also recorded in Hindi.Englishहिन्दी

There are 90,000 five-digit numbers, and you can know that without writing one down. The same one move — fix a position, count what can stand there — also explains why 68, 176 and 545 all have digit sum 14.

The idea

Counting numbers and counting digits are two different jobs, and one move does both: fix a writing position, ask how many symbols may stand in it, and multiply. That move gives 9, 90, 900, 9000 and 90,000 without listing anything — the first position has nine choices, every later one has ten. It also explains the digit sum: adding a number's digits deliberately throws away where each digit stood, which is exactly why 68, 176 and 545 all give 14, and why no number can be the biggest one with a given digit sum. And it turns Dinesh's question about the digit 7 from a listing problem into a counting problem.

What you should be able to do

  • State how many whole numbers have exactly one, two, three, four and five digits
  • Explain the count by choices per position rather than by listing
  • Say where the 5-digit numbers begin and where they end
  • Compute the digit sum of a given number
  • Produce several numbers with a stated digit sum
  • Find the smallest number with a given digit sum, and justify why it is smallest
  • Find the largest 5-digit number with a given digit sum, and justify it
  • Explain why there is no largest number at all with a given digit sum
  • Describe how digit sums move as you count from 40 to 70, and explain the drop
  • Explain why 3-digit numbers with consecutive digits always give digit sums that are threes, and say where the list stops
  • Count how many times a chosen digit gets written across a range of numbers

Words to know

TermDefinition in one lineFirst introduced
digitone of the ten symbols a number is written with§3.4, p.60 — printed there, throughout the section
digit sumthe total obtained by adding all the digits of a number§3.4, p.60 — printed there, and as the bold sub-heading Digit sums of numbers
consecutivefollowing one straight after another, as 3, 4 and 5 do§3.4, p.60 — printed there, in question 3
Digit Detectivesthe book's own name for the digit-counting puzzle at the end of the section§3.4, p.61 — printed there as a bold sub-heading
Komalthe pupil whose observation opens the digit-sum passage§3.4, p.60 — printed there
Dineshthe pupil who asks how many 7s he has written§3.4, p.61 — printed there
Math Talkthe book's margin badge for a prompt meant to be argued out in class§3.4, p.60 — printed there as a margin badge
thousands digitthe digit the comma is written after§3.2, p.59 — printed there, one page before this section
leading digitthe explanation's name for the digit written first, the only one that cannot be 0an added term, not printed anywhere in the book
place valuewhat a digit is worth because of where it stands — the thing a digit sum discardsnot printed in this chapter; the explanation supplies it from earlier classes

Where people slip up

  • "There are ten 1-digit numbers." The book counts from 1, so there are nine. Whether 0 belongs is a convention.
  • "To count the 3-digit numbers you have to list them." You have to count the choices. Listing 900 things is not an option and the whole point of the exercise is that you never needed to.
  • "A big number has a big digit sum." 90,000 has digit sum 9; 99 has digit sum 18. The digit sum is not a measure of size, because it has thrown size away.
  • "There is a largest number with digit sum 14." There is a largest 5-digit one. Allowing any length, you can always insert more zeros and get a bigger number with the same digit sum. This distinction is exactly what part (c) and part (d) of question 1 are testing, and they are easy to conflate.
  • "Digit sums go up steadily as you count." They rise by one within a decade and then fall by eight when the units digit rolls over. Watching 49 → 50 is the cheapest way to see that the fall is a carry.
  • "How many 7s from 1 to 100 means how many numbers contain a 7." Those are different questions and give different answers, because 77 is one number that was written with two 7s.
  • "The consecutive-digit pattern goes on forever." It stops at 789. There are only seven such numbers, and the book's follow-up question asks precisely this.
Transcript1,436 words

Start writing numbers. One, two, three, four, five, six, seven, eight, nine. And then you are stuck, because you have used up every symbol you have. There are only ten digits. Zero to nine. That is the entire alphabet of numbers. So to keep going you do something clever, and you did it so long ago that you have forgotten it was clever. You start using two positions. Ten. Eleven. Twelve. And off you go again.

Your book puts this in a table. Five columns: how many numbers have one digit, two digits, three, four, five. It fills the first column in for you, and leaves the other four blank. Now, you could list them. But listing ninety thousand numbers is not a plan. We need to count without listing. First column. How many one-digit numbers are there? Almost everybody says ten, because there are ten digits.

But your book's table starts at one, not zero. So the answer is nine. And that is not the book being fussy. It is the first appearance of the rule that runs through this whole section. A number does not start with zero. Write zero seven and you have not written a two-digit number. You have written seven, with something useless in front of it. So the digit you write first is special. It gets nine choices, not ten.

Hold on to that, because it is about to do everything. Two-digit numbers. Instead of listing them, think about the two writing positions. Front position. What can go there? Anything from one to nine. Nine choices. Back position. What can go there? Anything from zero to nine, because now a zero is perfectly fine. Ten choices. And every front choice can pair with every back choice. Nine choices, then ten choices. Nine times ten. Ninety.

Ninety two-digit numbers, and we never wrote a single one down. Check it if you like. Ten up to ninety-nine is ninety numbers. It agrees. Now the pattern just repeats, and it repeats beautifully. Three digits. Nine choices for the front, then ten, then ten. Nine hundred. Four digits. Nine, ten, ten, ten. Nine thousand. Five digits. Nine, ten, ten, ten, ten. Ninety thousand. So the table reads nine, ninety, nine hundred, nine thousand, ninety thousand.

Every new position you allow multiplies the count by ten, because that new position has ten symbols available to it. And the nine at the front never changes, because the first digit never gets to be zero. One idea — fix a position, count what can stand there, multiply — filled in the entire table. Let's place those five-digit numbers, since we were on a number line last time. The smallest five-digit number is ten thousand. A one, followed by four zeros.

The largest is ninety-nine thousand, nine hundred and ninety-nine. And then the very next number needs a sixth position, and the whole story starts over. Count them. From ten thousand up to ninety-nine thousand nine hundred and ninety-nine is ninety thousand numbers. The same answer we got by multiplying. Which is the point — two different routes, one number. Now the section turns, and a pupil called Komal notices something.

She writes three numbers on the board. Sixty-eight. A hundred and seventy-six. Five hundred and forty-five. Three numbers with nothing obvious in common. Different sizes, different lengths. And she adds up the digits of each one. Six plus eight is fourteen. One plus seven plus six is fourteen. Five plus four plus five is fourteen. All three of them. Fourteen. And that total has a name. It is called the digit sum.

So what is a digit sum actually doing? Here is the honest answer, and it explains everything that follows. When you add up the digits, you are deliberately throwing away where each digit stood. In a hundred and seventy-six, the one means a hundred. But in the digit sum it contributes one. Just one. Place value is the whole reason a one can mean a hundred, and the digit sum discards it on purpose.

Which is why sixty-eight and five hundred and forty-five can land on the same total while being nowhere near each other in size. A digit sum is not a measure of how big a number is. It measures the symbols you wrote, ignoring where you wrote them. Your book asks for the smallest number whose digits add to fourteen. One digit cannot do it. The biggest single digit is nine, and nine is short of fourteen.

So we need at least two digits. And to make the number small, you want the front digit as small as you can get away with. Call the front digit t and the back one u. They add to fourteen, and u cannot be more than nine. So t is at least five. Try five. Then u is nine. Fifty-nine. And fifty-nine works. Five plus nine is fourteen. Nothing below it can, because a smaller two-digit number has a front digit under five, and then the back digit would have to be more than nine. There is no such digit.

Now the other end. The largest five-digit number whose digits add to fourteen. Being largest means starting as big as possible, so make the first digit nine. That uses nine of our fourteen, and leaves five to spread across four more positions. Same logic again. Make the next digit as big as it can be. Five. And that uses up everything we had. So the remaining three positions all take zero. Ninety-five thousand.

Now the last part of the question, which is the interesting one. How big can a number with digit sum fourteen get? There is no biggest. Take ninety-five thousand and stick another zero on the end. Nine hundred and fifty thousand. Digit sum still fourteen, and it is ten times bigger. Zeros are free — they cost nothing in a digit sum, and you can always add one more. Next, write down the digit sums of every number from forty to seventy, and look at the shape they make.

Forty is four. Forty-one is five. Forty-two is six. Up by one each time, all the way to forty-nine, which is thirteen. And then fifty. Which is five. It fell by eight. And it happens again from fifty-nine to sixty, and again from sixty-nine to seventy. Three drops, every one of them eight. The reason is exactly the place-value one. Going from forty-nine to fifty, the units digit falls from nine to zero, losing nine, while the tens digit rises by one, gaining one.

Lose nine, gain one. A net drop of eight. Every single time. Question three. Three-digit numbers whose digits run consecutively upward. Your book's example is three four five. Its digit sum is twelve. Try another. One two three gives six. Two three four gives nine. Six, nine, twelve. Every one of them a multiple of three. Here is why, and it takes one line. The digits are some number, then the next one, then the one after that.

Their total is three times the middle digit. Always. So it is always a multiple of three. And how many such numbers are there? Only seven. One two three, up to seven eight nine. Eight nine ten does not exist, because ten is not a digit. And zero one two is not a three-digit number, because it starts with a zero. Both ends are shut by rules we have already met.

Last one, and there is a trap in the wording. A pupil called Dinesh has written out every number from one to a hundred, and wonders how many sevens that took. Notice what is being asked. How many sevens he wrote. Not how many numbers had a seven in them. Those are different questions, and here is the number that proves it. Seventy-seven. Seventy-seven is one number, but writing it takes two sevens.

So between one and a hundred, nineteen numbers contain a seven — while twenty sevens actually get written. And you can count those twenty cleanly. A seven appears in the units position ten times: seven, seventeen, twenty-seven, and so on. And in the tens position ten times: seventy through to seventy-nine. Ten plus ten is twenty. No listing. From one to a thousand? Three hundred sevens get written, though only two hundred and seventy-one numbers contain one.

Which brings the section full circle. Every count in it came from fixing a position and asking what can stand there. Next time, palindromes — numbers that read the same backwards, and a strange process that keeps landing on them.

Where this fits

Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.

Builds on

Comes up again in

The book

Open in a new tab