Mathematics · Book 1 · Grades 1–9

Primary & Middle School Mathematics

Primary & Middle School Mathematics · Grades 1–9

37Whole Numbers

Everything in mathematics starts with counting. This chapter reviews how whole numbers are written, compared and combined — and takes a careful look at division, the operation that gives both a quotient and a remainder.

37.1 Writing and comparing whole numbers

Definition 37.1 (Place value)

Our way of writing numbers uses ten digits (00 to 99), and the value of a digit depends on its place: in 52085\,208, the digit 55 counts thousands, the 22 counts hundreds, the 00 counts tens (there are none) and the 88 counts units:

5208=5×1000+2×100+0×10+8.5\,208 = 5 \times 1000 + 2 \times 100 + 0 \times 10 + 8 .
The place-value table of 5\,208. The 0 matters: without it, the 5 and the 2 would slide into the wrong columns and the number would read 528.
The place-value table of 52085\,208. The 00 matters: without it, the 55 and the 22 would slide into the wrong columns and the number would read 528528.

Method 37.2 (Comparing two whole numbers)

  1. The number with more digits is the larger one (1203>9891\,203 > 989).
  2. If they have the same number of digits, compare digit by digit from the left; the first difference decides: 6742>67156\,742 > 6\,715 because at the tens place, 4>14 > 1.

The symbols are << (“less than”) and >> (“greater than”); the small end of the symbol points at the small number.

Example 37.3

Order from smallest to largest: 908908; 8989; 10011\,001; 980980. First by digit count: 8989 (two digits) comes first, 10011\,001 (four digits) last. Between 908908 and 980980: same hundreds digit 99, then tens 0<80 < 8, so 908<980908 < 980. Final answer:

89<908<980<1001.89 < 908 < 980 < 1\,001 .
Numbers live on a line: smaller means further left. Each tick here is worth 100.
Numbers live on a line: smaller means further left. Each tick here is worth 100100.

37.2 Addition, subtraction, multiplication

Example 37.4 (Column computations)

To add or subtract, align the units under the units, the tens under the tens, and work from right to left, carrying when needed:

457+ 286743603 147456\begin{array}{r} 4\,5\,7 \\ +\ 2\,8\,6 \\ \hline 7\,4\,3 \end{array} \qquad\qquad \begin{array}{r} 6\,0\,3 \\ -\ 1\,4\,7 \\ \hline 4\,5\,6 \end{array}

In the addition: 7+6=137 + 6 = 13, write 33, carry 11; then 5+8+1=145 + 8 + 1 = 14, write 44, carry 11; then 4+2+1=74 + 2 + 1 = 7. Check the subtraction by adding back: 456+147=603456 + 147 = 603.

Remark 37.5 (Vocabulary)

The result of an addition is a sum; of a subtraction, a difference; of a multiplication, a product; of a division, a quotient. The numbers being combined are the terms (for ++, -) or factors (for ×\times).

Example 37.6 (Smart computation)

Reordering terms or factors often saves work:

17+58+3=(17+3)+58=20+58=78,17 + 58 + 3 = (17 + 3) + 58 = 20 + 58 = 78 ,
25×17×4=(25×4)×17=100×17=1700.25 \times 17 \times 4 = (25 \times 4) \times 17 = 100 \times 17 = 1700 .

37.3 Division

Theorem 37.7 (Euclidean division)

Given two whole numbers aa (the dividend) and b0b \neq 0 (the divisor), there is exactly one way to write

a=b×q+rwith0r<b.a = b \times q + r \qquad\text{with}\qquad 0 \leq r < b .

The number qq is the quotient and rr the remainder of the division of aa by bb.

Proof. Admitted at this level.

Example 37.8

Divide 137137 by 44, step by step.

  1. How many times does 44 go into 1313? Three times (4×3=124 \times 3 = 12), remainder 1312=113 - 12 = 1.
  2. Bring down the 77: how many times does 44 go into 1717? Four times (4×4=164 \times 4 = 16), remainder 11.

So q=34q = 34 and r=1r = 1:

137=4×34+1,and indeed 01<4.137 = 4 \times 34 + 1, \qquad\text{and indeed } 0 \leq 1 < 4 .

Check: 4×34=1364 \times 34 = 136, and 136+1=137136 + 1 = 137.

Dividing 137 by 4: you can fit 34 full groups of 4 (reaching 136), and 1 is left over — the remainder is always smaller than the divisor.
Dividing 137137 by 44: you can fit 3434 full groups of 44 (reaching 136136), and 11 is left over — the remainder is always smaller than the divisor.

Definition 37.9 (Divisible)

When the remainder is 00, we say that aa is divisible by bb: for instance 135135 is divisible by 55 since 135=5×27+0135 = 5 \times 27 + 0.

Method 37.10 (Word problems with division)

After computing a=bq+ra = bq + r, always return to the question:

  1. “How many full boxes/teams/pages?” — the answer is the quotient qq;
  2. “How many are left over?” — the answer is the remainder rr;
  3. “How many boxes are needed for everyone?” — if r>0r > 0, one more than the quotient: q+1q + 1.

Example 37.11

137137 students go on a trip in buses of 4040 seats. Division: 137=40×3+17137 = 40 \times 3 + 17. Three buses carry 120120 students, and 1717 students remain — they need a bus too! So 44 buses are needed, even though the quotient is 33.

37.4 Exercises

Exercise 37.1

Write in digits: “three thousand and forty-seven”; “twenty thousand five hundred”; “one hundred four”. Then write 6001360\,013 in words.

Solution

Solution of Exercise 37.1.

30473\,047; 2050020\,500; 104104. 6001360\,013: “sixty thousand and thirteen”.

Exercise 37.2

In the number 4720947\,209: what is the digit of the hundreds? The digit of the units? What does the digit 44 count? Write the number as a sum of multiples of 11, 1010, 100100, … as in Definition 37.1.

Solution

Solution of Exercise 37.2.

Hundreds digit: 22; units digit: 99; the 44 counts the ten-thousands. Decomposition:

47209=4×10000+7×1000+2×100+0×10+9.47\,209 = 4 \times 10\,000 + 7 \times 1000 + 2 \times 100 + 0 \times 10 + 9 .

Exercise 37.3

Copy and complete with << or >>:

507  ?  570,1099  ?  989,23456  ?  23465,9999  ?  10000.507 \;?\; 570, \qquad 1\,099 \;?\; 989, \qquad 23\,456 \;?\; 23\,465, \qquad 9\,999 \;?\; 10\,000 .
Solution

Solution of Exercise 37.3.

507<570507 < 570 (tens: 0<70 < 7); 1099>9891\,099 > 989 (four digits beat three); 23456<2346523\,456 < 23\,465 (tens: 5<65 < 6); 9999<100009\,999 < 10\,000 (four digits against five).

Exercise 37.4

Order from smallest to largest: 20432\,043; 978978; 23042\,304; 20342\,034; 10011\,001.

Solution

Solution of Exercise 37.4.

By digit count, 978978 and 10011\,001 come before the three four-digit numbers starting with 22; among those, compare the tens and units: 2034<2043<23042\,034 < 2\,043 < 2\,304. Final order:

978<1001<2034<2043<2304.978 < 1\,001 < 2\,034 < 2\,043 < 2\,304 .

Exercise 37.5

Compute in columns: 348+576348 + 576; 805268805 - 268; 307×26307 \times 26. Check the subtraction with an addition.

Solution

Solution of Exercise 37.5.

348+576=924348 + 576 = 924; 805268=537805 - 268 = 537 (check: 537+268=805537 + 268 = 805); 307×26=307×20+307×6=6140+1842=7982307 \times 26 = 307 \times 20 + 307 \times 6 = 6\,140 + 1\,842 = 7\,982.

Exercise 37.6

Compute smartly, grouping terms or factors:

38+45+12+5,2×83×50,4×78×25.38 + 45 + 12 + 5, \qquad 2 \times 83 \times 50, \qquad 4 \times 78 \times 25 .
Solution

Solution of Exercise 37.6.

38+45+12+5=(38+12)+(45+5)=50+50=10038 + 45 + 12 + 5 = (38 + 12) + (45 + 5) = 50 + 50 = 100.

2×83×50=(2×50)×83=100×83=83002 \times 83 \times 50 = (2 \times 50) \times 83 = 100 \times 83 = 8\,300.

4×78×25=(4×25)×78=100×78=78004 \times 78 \times 25 = (4 \times 25) \times 78 = 100 \times 78 = 7\,800.

Exercise 37.7

For each division, give the quotient and the remainder, and write the equality a=b×q+ra = b \times q + r:

95÷7,230÷6,504÷8.95 \div 7, \qquad 230 \div 6, \qquad 504 \div 8 .
Solution

Solution of Exercise 37.7.

95=7×13+495 = 7 \times 13 + 4 (quotient 1313, remainder 44).

230=6×38+2230 = 6 \times 38 + 2 (quotient 3838, remainder 22).

504=8×63+0504 = 8 \times 63 + 0 (quotient 6363, remainder 00: 504504 is divisible by 88).

Exercise 37.8

Without dividing, explain why the equality 173=8×20+13173 = 8 \times 20 + 13 is not the Euclidean division of 173173 by 88, and find the correct quotient and remainder.

Solution

Solution of Exercise 37.8.

The equality is true, but the remainder 1313 is not smaller than the divisor 88, so it is not the Euclidean division. Take one more 88 out of the remainder: 173=8×21+5173 = 8 \times 21 + 5, with 05<80 \leq 5 < 8: quotient 2121, remainder 55.

Exercise 37.9 ★★

Eggs are packed in boxes of 1212.

  1. A farm has 20002\,000 eggs. How many full boxes can it fill, and how many eggs are left over?
  2. A bakery needs 150150 eggs. How many boxes must it buy?
Solution

Solution of Exercise 37.9.

1. 2000=12×166+82\,000 = 12 \times 166 + 8: the farm fills 166166 full boxes and 88 eggs are left over.

2. 150=12×12+6150 = 12 \times 12 + 6: twelve boxes contain only 144144 eggs, not enough. The bakery must buy 1313 boxes.

Exercise 37.10 ★★

Today is a Tuesday. What day of the week will it be in 100100 days? (Weeks have 77 days: divide and think about the remainder.)

Solution

Solution of Exercise 37.10.

100=7×14+2100 = 7 \times 14 + 2: one hundred days are 1414 full weeks and 22 days more. Fourteen weeks later it is again a Tuesday; two days after a Tuesday is a Thursday.

Exercise 37.11 ★★

In a division by 99, the quotient is 5656 and the remainder is the largest it can possibly be. What is the dividend?

Solution

Solution of Exercise 37.11.

The largest possible remainder in a division by 99 is 88 (the remainder must be smaller than the divisor). So the dividend is

9×56+8=504+8=512.9 \times 56 + 8 = 504 + 8 = 512 .

Exercise 37.12 ★★★

I am a three-digit number. My hundreds digit is twice my units digit, my tens digit is 00, and the sum of my digits is 99. Who am I? (Reason step by step, then check.)

Solution

Solution of Exercise 37.12.

Let the digits be hh (hundreds), 00 (tens), uu (units). We know h=2×uh = 2 \times u and h+0+u=9h + 0 + u = 9, so 2u+u=92u + u = 9, giving 3u=93u = 9, u=3u = 3, and h=6h = 6. The number is 603603. Check: 66 is twice 33, the tens digit is 00, and 6+0+3=96 + 0 + 3 = 9.

37.5 Problem: Little Gauss and the sum of the first hundred numbers

Problem 37.1

Weekend problem — adding 1+2+3++1001 + 2 + 3 + \dots + 100 in ten seconds, and the triangular numbers

A famous story: to keep his class busy, a schoolmaster asked his pupils to add up all the numbers from 11 to 100100. One boy wrote 50505\,050 on his slate almost at once — Carl Friedrich Gauss, nine years old, who would grow into one of the greatest mathematicians of all time. His secret was nothing but smart computation (Example 37.6): grouping the terms so that every group is easy. This problem rediscovers his trick, makes it work in every situation, and shows how often these sums appear in daily life.

Part I — Gauss’s pairs.

  1. Compute 1+2+3+4+51 + 2 + 3 + 4 + 5 by grouping terms cleverly.
  2. For 1+2+3++101 + 2 + 3 + \dots + 10: pair the first term with the last (1+101 + 10), the second with the next-to-last (2+92 + 9), and so on. What is each pair worth? How many pairs are there? Finish the computation.
  3. Same method for 1+2++201 + 2 + \dots + 20: what is each pair worth, how many pairs, what total?
  4. Now the schoolmaster’s sum, 1+2++1001 + 2 + \dots + 100: explain why the pairs 1+1001 + 100, 2+992 + 99, 3+98,3 + 98, \dots are all worth the same, and why there are exactly 5050 of them, the last one being 50+5150 + 51.
  5. Write Gauss’s answer as a single multiplication, and compute it.

Part II — A trick that never fails.

  1. Try the pairing on 1+2++91 + 2 + \dots + 9: this time one number is left without a partner. Which one? Pair around it and compute the sum.
  2. Here is a version of the trick that works whether the count of terms is even or odd: write the sum twice, once forwards and once backwards, one line under the other,

    1+2++99+8++1\begin{array}{ccccccc} 1 & + & 2 & + & \dots & + & 9 \\ 9 & + & 8 & + & \dots & + & 1 \end{array}

    and add column by column. What is each column worth? How many columns are there? Explain why the sum of the two lines is 9×10=909 \times 10 = 90, and conclude that 1+2++9=451 + 2 + \dots + 9 = 45 — the same answer as in question 6.

  3. Use the two-line trick to compute 1+2++501 + 2 + \dots + 50, then 1+2++2001 + 2 + \dots + 200.
  4. Compute the sum of the first hundred even numbers, 2+4+6++2002 + 4 + 6 + \dots + 200. (Compare each term with a term of Gauss’s sum: no new pairing is needed.)
  5. Compute 101+102++200101 + 102 + \dots + 200, using two sums you already know and a subtraction.

Part III — Triangular numbers everywhere. The totals 11, 33, 66, 1010, 15,15, \dots of the sums 1+2++n1 + 2 + \dots + n are called triangular numbers, because they count objects stacked in a triangle.

  1. Eight friends meet, and each one shakes hands exactly once with each of the others. Explain why the number of handshakes is 7+6+5+4+3+2+17 + 6 + 5 + 4 + 3 + 2 + 1, and compute it.
  2. A grocer builds a triangular pyramid of cans: 1212 cans in the bottom row, 1111 in the next, and so on up to a single can on top. How many cans does she need? (Use the trick of question 7.)
  3. Draw the sum 1+2+3+41 + 2 + 3 + 4 as a staircase of squares: one square in the first column, two in the second, three in the third, four in the fourth. Show on your drawing that two such staircases, one of them turned upside down, fit together exactly into a rectangle of 44 rows of 55 squares — and explain why this is the two-line trick of question 7, drawn instead of written.
  4. A clock strikes 11 time at one o’clock, 22 times at two o’clock, …, 1212 times at twelve o’clock. How many strikes is that over the twelve hours? And over a whole day?
  5. A last one for Gauss: 50505\,050 seconds — is that more or less than an hour and a half? Convert it into hours, minutes and seconds, using Euclidean division (Theorem 37.7) twice.
Solution

Solution of Problem 37.1.

1. For instance (1+4)+(2+3)+5=5+5+5=15(1 + 4) + (2 + 3) + 5 = 5 + 5 + 5 = 15.

2. Each pair is worth 1111: 1+101 + 10, 2+92 + 9, 3+83 + 8, 4+74 + 7, 5+65 + 6. That is 55 pairs (ten numbers, two per pair), so the sum is 5×11=555 \times 11 = 55.

3. Pairs worth 2121 (1+201 + 20, 2+19,2 + 19, \dots), and there are 1010 of them: 10×21=21010 \times 21 = 210.

4. In each pair, when the first number grows by 11 the second shrinks by 11, so the total never changes: 1+100=2+99=3+98==1011 + 100 = 2 + 99 = 3 + 98 = \dots = 101. The hundred numbers make 5050 pairs (two numbers each), the innermost being 50+51=10150 + 51 = 101.

5. 5050 pairs of 101101:

1+2++100=50×101=5050.1 + 2 + \dots + 100 = 50 \times 101 = 5\,050 .

6. With nine numbers, the middle one, 55, has no partner. Around it: 1+9=2+8=3+7=4+6=101 + 9 = 2 + 8 = 3 + 7 = 4 + 6 = 10, four pairs. Total: 4×10+5=454 \times 10 + 5 = 45.

7. Each column is worth 1+9=2+8==9+1=101 + 9 = 2 + 8 = \dots = 9 + 1 = 10, and there are 99 columns: the two lines together are worth 9×10=909 \times 10 = 90. But the two lines are the same sum written twice, so one copy is worth half: 1+2++9=90÷2=451 + 2 + \dots + 9 = 90 \div 2 = 45. No number is ever left without a partner — its partner is just underneath it.

8. For 11 to 5050: 5050 columns worth 5151, double sum 50×51=255050 \times 51 = 2\,550, so the sum is 2550÷2=12752\,550 \div 2 = 1\,275. For 11 to 200200: 200200 columns worth 201201, double sum 4020040\,200, sum 2010020\,100.

9. Every even number is the double of a number of Gauss’s sum: 2=2×12 = 2 \times 1, 4=2×24 = 2 \times 2, …, 200=2×100200 = 2 \times 100. So the whole sum is the double of Gauss’s:

2+4++200=2×5050=10100.2 + 4 + \dots + 200 = 2 \times 5\,050 = 10\,100 .

10. The numbers from 101101 to 200200 are the numbers from 11 to 200200 with the numbers from 11 to 100100 removed:

101+102++200=201005050=15050.101 + 102 + \dots + 200 = 20\,100 - 5\,050 = 15\,050 .

11. Line up the friends. The first shakes 77 hands (one with each of the others). The second has already greeted the first, so he shakes 66 new hands; the third, 55; and so on, the seventh shaking 11 and the eighth none that is new. Every handshake is counted exactly once:

7+6+5+4+3+2+1=28 handshakes7 + 6 + 5 + 4 + 3 + 2 + 1 = 28 \text{ handshakes}

(pair around the middle: (7+1)+(6+2)+(5+3)+4=8+8+8+4=28(7+1) + (6+2) + (5+3) + 4 = 8 + 8 + 8 + 4 = 28).

12. 1+2++121 + 2 + \dots + 12: twelve columns worth 1313, double sum 12×13=15612 \times 13 = 156, so 156÷2=78156 \div 2 = 78 cans.

13. The staircase of 1+2+3+41 + 2 + 3 + 4 squares, plus the same staircase upside down, fill a rectangle of 44 rows and 55 columns exactly: each row of the rectangle is one column of the two-line trick (a step of the rising staircase completed by a step of the falling one, 1+41 + 4, 2+32 + 3, 3+23 + 2, 4+14 + 1 — always 55). So twice the sum is 4×5=204 \times 5 = 20 squares, and 1+2+3+4=101 + 2 + 3 + 4 = 10: the picture is question 7.

14. 1+2++12=781 + 2 + \dots + 12 = 78 strikes in twelve hours (question 12), hence 78×2=15678 \times 2 = 156 strikes in a whole day.

15. Divide by 6060: 5050=60×84+105\,050 = 60 \times 84 + 10, so 50505\,050 seconds is 8484 minutes and 1010 seconds. Divide the minutes by 6060: 84=60×1+2484 = 60 \times 1 + 24, so 8484 minutes is 11 hour 2424 minutes. In all: 11 h 2424 min 1010 s — a little less than an hour and a half (11 h 3030 min).