LearnWave
Learn it. Master it.

Number Play

Playing with digits

Play with digits and count how many numbers have each number of digits.

How many numbers have each number of digits?

DigitsFromToHow many
1199
2109990
3100999900
4100099999000
510,00099,99990,000

Komal adds up the digits of numbers. This is the digit sum. For 68 it is 6 + 8 = 14. For 176 it is 1 + 7 + 6 = 14, and for 545 it is 5 + 4 + 5 = 14. Different numbers can have the same digit sum.

The smallest number with digit sum 14? One digit is not enough: the biggest digit is 9. With two digits, keep the tens digit as small as possible by making the units digit as big as possible: 9. Then the tens digit is 14 − 9 = 5, giving 59. The largest 5-digit number with digit sum 14? Make the first digit as big as possible, 9, then 5, then zeros: 95,000.

Dinesh wonders how many times he writes the digit 7 from 1 to 100. Count place by place:

  • units place: 7, 17, 27, …, 97: 10 times;
  • tens place: 70, 71, …, 79: another 10 times.

So he writes 7 20 times. (77 has two 7s, and we counted both: once in each list.)

The digit sum adds up a number's digits: 68, 176 and 545 all have digit sum 14, and 59 is the smallest number with that digit sum.

Practise this lesson

Questions that get harder as you improve, a Tutor that helps without giving the answer away, and progress you can see. Free for every learner.

No account, no email address. Opens the real product.