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 ( to ), and the value of a digit depends on its place: in , the digit counts thousands, the counts hundreds, the counts tens (there are none) and the counts units:
Method 37.2 (Comparing two whole numbers)
- The number with more digits is the larger one ().
- If they have the same number of digits, compare digit by digit from the left; the first difference decides: because at the tens place, .
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: ; ; ; . First by digit count: (two digits) comes first, (four digits) last. Between and : same hundreds digit , then tens , so . Final answer:
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:
In the addition: , write , carry ; then , write , carry ; then . Check the subtraction by adding back: .
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 ).
Example 37.6 (Smart computation)
Reordering terms or factors often saves work:
37.3 Division
Theorem 37.7 (Euclidean division)
Given two whole numbers (the dividend) and (the divisor), there is exactly one way to write
The number is the quotient and the remainder of the division of by .
Proof. Admitted at this level. ∎
Example 37.8
Divide by , step by step.
- How many times does go into ? Three times (), remainder .
- Bring down the : how many times does go into ? Four times (), remainder .
So and :
Check: , and .
Definition 37.9 (Divisible)
When the remainder is , we say that is divisible by : for instance is divisible by since .
Method 37.10 (Word problems with division)
After computing , always return to the question:
Example 37.11
students go on a trip in buses of seats. Division: . Three buses carry students, and students remain — they need a bus too! So buses are needed, even though the quotient is .
37.4 Exercises
Exercise 37.1 ★
Write in digits: “three thousand and forty-seven”; “twenty thousand five hundred”; “one hundred four”. Then write in words.
Solution
Solution of Exercise 37.1.
; ; . : “sixty thousand and thirteen”.
Exercise 37.2 ★
In the number : what is the digit of the hundreds? The digit of the units? What does the digit count? Write the number as a sum of multiples of , , , … as in Definition 37.1.
Solution
Solution of Exercise 37.2.
Hundreds digit: ; units digit: ; the counts the ten-thousands. Decomposition:
Exercise 37.3 ★
Copy and complete with or :
Solution
Solution of Exercise 37.3.
(tens: ); (four digits beat three); (tens: ); (four digits against five).
Exercise 37.4 ★
Order from smallest to largest: ; ; ; ; .
Solution
Solution of Exercise 37.4.
By digit count, and come before the three four-digit numbers starting with ; among those, compare the tens and units: . Final order:
Exercise 37.5 ★
Compute in columns: ; ; . Check the subtraction with an addition.
Solution
Solution of Exercise 37.5.
; (check: ); .
Exercise 37.6 ★
Compute smartly, grouping terms or factors:
Solution
Solution of Exercise 37.6.
.
.
.
Exercise 37.7 ★
For each division, give the quotient and the remainder, and write the equality :
Exercise 37.8 ★
Without dividing, explain why the equality is not the Euclidean division of by , and find the correct quotient and remainder.
Exercise 37.9 ★★
Eggs are packed in boxes of .
- A farm has eggs. How many full boxes can it fill, and how many eggs are left over?
- A bakery needs eggs. How many boxes must it buy?
Solution
Solution of Exercise 37.9.
1. : the farm fills full boxes and eggs are left over.
2. : twelve boxes contain only eggs, not enough. The bakery must buy boxes.
Exercise 37.10 ★★
Today is a Tuesday. What day of the week will it be in days? (Weeks have days: divide and think about the remainder.)
Solution
Solution of Exercise 37.10.
: one hundred days are full weeks and 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 , the quotient is and the remainder is the largest it can possibly be. What is the dividend?
Exercise 37.12 ★★★
I am a three-digit number. My hundreds digit is twice my units digit, my tens digit is , and the sum of my digits is . Who am I? (Reason step by step, then check.)
Solution
Solution of Exercise 37.12.
Let the digits be (hundreds), (tens), (units). We know and , so , giving , , and . The number is . Check: is twice , the tens digit is , and .
37.5 Problem: Little Gauss and the sum of the first hundred numbers
Problem 37.1
Weekend problem — adding 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 to . One boy wrote 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.
- Compute by grouping terms cleverly.
- For : pair the first term with the last (), the second with the next-to-last (), and so on. What is each pair worth? How many pairs are there? Finish the computation.
- Same method for : what is each pair worth, how many pairs, what total?
- Now the schoolmaster’s sum, : explain why the pairs , , are all worth the same, and why there are exactly of them, the last one being .
- Write Gauss’s answer as a single multiplication, and compute it.
Part II — A trick that never fails.
- Try the pairing on : this time one number is left without a partner. Which one? Pair around it and compute the sum.
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,
and add column by column. What is each column worth? How many columns are there? Explain why the sum of the two lines is , and conclude that — the same answer as in question 6.
- Use the two-line trick to compute , then .
- Compute the sum of the first hundred even numbers, . (Compare each term with a term of Gauss’s sum: no new pairing is needed.)
- Compute , using two sums you already know and a subtraction.
Part III — Triangular numbers everywhere. The totals , , , , of the sums are called triangular numbers, because they count objects stacked in a triangle.
- Eight friends meet, and each one shakes hands exactly once with each of the others. Explain why the number of handshakes is , and compute it.
- A grocer builds a triangular pyramid of cans: cans in the bottom row, 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.)
- Draw the sum 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 rows of squares — and explain why this is the two-line trick of question 7, drawn instead of written.
- A clock strikes time at one o’clock, times at two o’clock, …, times at twelve o’clock. How many strikes is that over the twelve hours? And over a whole day?
- A last one for Gauss: 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 .
2. Each pair is worth : , , , , . That is pairs (ten numbers, two per pair), so the sum is .
3. Pairs worth (, ), and there are of them: .
4. In each pair, when the first number grows by the second shrinks by , so the total never changes: . The hundred numbers make pairs (two numbers each), the innermost being .
5. pairs of :
6. With nine numbers, the middle one, , has no partner. Around it: , four pairs. Total: .
7. Each column is worth , and there are columns: the two lines together are worth . But the two lines are the same sum written twice, so one copy is worth half: . No number is ever left without a partner — its partner is just underneath it.
8. For to : columns worth , double sum , so the sum is . For to : columns worth , double sum , sum .
9. Every even number is the double of a number of Gauss’s sum: , , …, . So the whole sum is the double of Gauss’s:
10. The numbers from to are the numbers from to with the numbers from to removed:
11. Line up the friends. The first shakes hands (one with each of the others). The second has already greeted the first, so he shakes new hands; the third, ; and so on, the seventh shaking and the eighth none that is new. Every handshake is counted exactly once:
(pair around the middle: ).
12. : twelve columns worth , double sum , so cans.
13. The staircase of squares, plus the same staircase upside down, fill a rectangle of rows and 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, , , , — always ). So twice the sum is squares, and : the picture is question 7.
14. strikes in twelve hours (question 12), hence strikes in a whole day.
15. Divide by : , so seconds is minutes and seconds. Divide the minutes by : , so minutes is hour minutes. In all: h min s — a little less than an hour and a half ( h min).