2014 Canadian Intermediate Mathematics Contest: The Centre For Education in Mathematics and Computing Cemc - Uwaterloo.ca
2014 Canadian Intermediate Mathematics Contest: The Centre For Education in Mathematics and Computing Cemc - Uwaterloo.ca
Solutions
Part A
1. Since there are 200 people at the beach and 65% of these people are children, then there are
65
100
× 200 = 65 × 2 = 130 children at the beach.
Since there are 130 children at the beach and 40% of them are swimming, then there are
40
100
× 130 = 0.4 × 130 = 52 children swimming.
Answer: 52
2. Solution 1
Since x + 2y = 14 and y = 3, then 2x + 3y = (2x + 4y) − y = 2(x + 2y) − y = 2(14) − 3 = 25.
Solution 2
Since x+2y = 14 and y = 3, then x = 14−2y = 14−2(3) = 8, and so 2x+3y = 2(8)+3(3) = 25.
Answer: 25
3. Solution 1
Since ABCD is a rectangle and BC = 24, then AD = 24.
Since AD is divided into three equal parts AP = P Q = QD, then each part has length
24 ÷ 3 = 8.
Thus, AB = AP = P Q = QD = 8.
Since ABCD is a rectangle and AB = 8, then DC = 8.
Since R is the midpoint of DC, then DR = 21 (8) = 4.
A 8 P 8 Q 8 D
4
8 R
4
B 24 C
Now 4P QR can be viewed as having base P Q. In this case, DR is the height of 4P QR, since
it is the perpendicular distance from R to the line through P and Q.
Therefore, the area of 4P QR is 21 (P Q)(DR) = 12 (8)(4) = 16.
Solution 2
We begin as in Solution 1 and determine that AB = AP = P Q = QD = 8 and DR = 4.
Now, we note that the area of 4P QR equals the area of 4P DR minus the area of 4QDR.
Each of these triangles is right-angled at D.
4P DR has P D = 8 + 8 = 16 and DR = 4, and so has area 12 (16)(4) = 32.
4QDR has QD = 8 and DR = 4, and so has area 12 (8)(4) = 16.
Thus, the area of 4P QR is 32 − 16 = 16.
Answer: 16
2014 Canadian Intermediate Mathematics Contest Solutions Page 3
4. The initial depth of snow in Kingston is 12.1 cm and it snows at a rate of 2.6 cm per hour, so
after 13 hours, the depth of snow in Kingston is (12.1 + 2.6(13)) cm.
The initial depth of snow in Hamilton is 18.6 cm and it snows at a rate of x cm per hour, so
after 13 hours, the depth of snow in Hamilton is (18.6 + 13x) cm.
Since the final depths are equal, then
Therefore, x = 2.1.
Answer: 2.1
5. Solution 1
Suppose that the pyramid has n layers.
At each layer, the golfballs that form part of the triangular faces of the pyramid are the golfballs
that are part of the perimeter of the layer.
At each layer, the golfballs that are not part of the perimeter are not part of the triangular
faces.
The top layer is 1 × 1 and this 1 golfball is a part of the triangular faces.
The next layer is 2 × 2 and all 4 of these golfballs form part of the triangular faces.
The next layer is 3 × 3. There is 1 golfball in the middle of this layer that is not part of the
triangular faces.
The next layer is 4 × 4. There is a 2 × 2 square of golfballs in the middle of this layer, each of
which is not part of the triangular faces.
For the layer which is k × k (with k > 2), there is a (k − 2) × (k − 2) square of golfballs in the
middle of this layer, each of which is not part of the triangular faces.
k
...
...
k
...
...
...
...
...
...
If the entire pyramid has n layers, then the total number of golfballs in the pyramid is
12 + 22 + 32 + 42 · · · + (n − 2)2 + (n − 1)2 + n2
From above, the total number of golfballs that do not form a part of the triangular faces is
The total number of golfballs that do form a part of the triangular faces is the difference between
these two totals, which equals
(12 +22 +32 +42 · · ·+(n−2)2 +(n−1)2 +n2 )−(0+0+12 +22 +· · ·+(n−4)2 +(n−3)2 +(n−2)2 )
which equals (n − 1)2 + n2 since all other terms are added and then subtracted.
We want to determine the value of n for which the pyramid with n layers has 145 golfballs on
its triangular faces.
In other words, we want to determine the value of n for which (n − 1)2 + n2 = 145.
When n = 9, we obtain (n − 1)2 + n2 = 82 + 92 = 64 + 81 = 145.
Therefore, the pyramid has 9 layers.
(Note that when n > 2 and as n increases, each of (n − 1)2 and n2 increases, so (n − 1)2 + n2
increases, and so there is only one n that works.)
Solution 2
Suppose that the pyramid has n layers.
Each of the four triangular faces consists of n rows of golfballs. There is 1 golfball in the top
row, 2 golfballs in the next row, and so on, with n golfballs in the bottom row.
Thus, each of the four triangular faces includes 1 + 2 + 3 + · · · + n = 21 n(n + 1) golfballs.
The very top golfball is included in each of the four faces.
Each of the other golfballs along the edges of each triangular face is included in two faces.
There are n − 1 golfballs in each such edge.
To determine the total number of golfballs included in the four triangular faces in terms of n,
we
Thus, the total number of golfballs included in the four triangular faces is
For the total number of golfballs included in the four triangular faces to be 145, we have
2n2 − 2n + 1 = 145
2n2 − 2n − 144 = 0
n2 − n − 72 = 0
(n − 9)(n + 8) = 0
Therefore, n = 9 or n = −8.
Since n > 0, then n = 9, so there are 9 layers.
2014 Canadian Intermediate Mathematics Contest Solutions Page 5
Solution 3
We count the number of golfballs, by level, that are included in the four triangular faces.
The top level consists of 1 × 1 = 1 golfball. This golfball is included in the triangular faces.
The next level consists of 2 × 2 = 4 golfballs. All 4 golfballs are included in the triangular faces.
The next level consists of 3 × 3 = 9 golfballs. Only the middle golfball of this level is not
included in the triangular faces, so 8 golfballs are included in the triangular faces.
In general, for a level that is k × k with k > 2, how many of the golfballs are included in the
triangular faces?
k
...
...
...
...
...
...
...
...
The golfballs on the perimeter of this square are included in the triangular faces. How many
such balls are there?
We start by counting each of the balls on two opposite edges. This gives k + k = 2k golfballs.
On the two remaining edges, the balls at each end are already included, leaving k − 2 golfballs
on each of these edges to be counted.
In total, this gives k + k + (k − 2) + (k − 2) = 4k − 4 golfballs from this level that are included
in the four triangular faces.
We make a table of the level number, the number of golfballs included in the four triangular
faces at this level, and the running total of such golfballs. We stop when we get to a total
of 145:
Therefore, 9 layers are needed to obtain a total of 145 golfballs included in the four triangular
faces.
Answer: 9 layers
2014 Canadian Intermediate Mathematics Contest Solutions Page 6
Because we have constructed this integer so that it has as many digits as possible and so that
the largest digits possible are in the positions with largest place value, then this is N , the
largest positive integer satisfying the required properties.
Therefore, N = 619737131179.
Answer: N = 619737131179
2014 Canadian Intermediate Mathematics Contest Solutions Page 8
Part B
22 + 23 + 23 + 25 + 26 + 31 150
1. (a) The average of the 6 integers given is = = 25.
6 6
(b) Since the average of the three numbers y + 7, 2y − 9 and 8y + 6 is 27, then the sum of the
three numbers is 3(27) = 81.
Therefore, (y + 7) + (2y − 9) + (8y + 6) = 81 or 11y + 4 = 81, and so 11y = 77 or y = 7.
(c) Since the average of four integers is 94, then their sum is 4(94) = 376.
Since the sum of the integers is constant, then for one of the integers to be as small as
possible, the other three integers must be as large as possible.
To see this algebraically, we can call the four integers a, b, c, d with a the smallest.
Since a + b + c + d = 376, then a = 376 − b − c − d.
To make a as small as possible, we want to subtract as much as possible from 376.
Since each of the four integers is smaller than 100, then the largest that each can be is 99.
Therefore, to make one of the four integers as small as possible, we set the other three
integers equal to 99.
This means that the fourth integer equals 376 − 3(99) = 376 − 297 = 79.
2. (a) Since 4P QR is right-angled at R, we can apply the Pythagorean Theorem to say that
P R2 + RQ2 = P Q2 .
Since RQ = 24 and P Q = 25, then P R2 = 252 − 242 = 625 − 576 = 49.
Since P R > 0, then P R = 7.
The perimeter of 4P QR is P R + RQ + P Q = 7 + 24 + 25 = 56.
Since 4P QR is right-angled at R, its area equals 21 (P R)(RQ) = 21 (7)(24) = 12 (168) = 84.
(b) Since the perimeter of 4ABC is 144 and its side lengths are a, b and c, then a+b+c = 144.
Since 4ABC is right-angled at C and its area is 504, then 21 (CB)(AC) = 504 or 21 ab = 504
or ab = 1008.
Since a + b + c = 144, then
a+b = 144 − c
(a + b)2 = (144 − c)2 (squaring both sides)
a2 + 2ab + b2 = c − 288c + 1442
2
(expanding)
(a2 + b2 ) + 2ab = 2
c − 288c + 144 2
Therefore, c = 65.
(We note that when c = 65, we obtain a + b = 144 − 65 = 79 and ab = 1008 which
can be solved to obtain a = 16 and b = 63 or a = 63 and b = 16. We can verify that
162 + 632 = 652 so we do obtain a right-angled triangle.)
2014 Canadian Intermediate Mathematics Contest Solutions Page 9
3. (a) The initial list includes 1 digit equal to 0, 0 digits equal to 1, 1 digit equal to 2, and
2 digits equal to 3.
Therefore, the list produced by the machine is (1, 0, 1, 2).
(b) Suppose Vicky inputs the list (a, b, c, d) and the machine outputs the identical list (a, b, c, d).
The fact that the output is (a, b, c, d) tells us that the input consists a 0s, b 1s, c 2s, and
d 3s.
Since the input consists of 4 digits, each equal to 0, 1, 2, or 3, then the sum of the number
of 0s (a), the number of 1s (b), the number of 2s (c), and the number of 3s (d) in the input
is 4, and so a + b + c + d = 4.
Since the input actually equals (a, b, c, d), then the sum of the digits in the input is 4.
Now, we add up the digits of the input in a second way.
Since the output equals (a, b, c, d), the input consists of a 0s, b 1s, c 2s, and d 3s.
The a 0s contribute 0a to the sum of the digits, the b 1s contribute 1b, the c 2s contribute
2c, and the d 3s contribute 3d, and so the sum of the digits in the input also equals
0a + 1b + 2c + 3d.
Since the sum of the digits in the input is 4, then 0a + 1b + 2c + 3d = 4.
Therefore, b + 2c + 3d = 4 for any input (a, b, c, d) which produces the identical output
(a, b, c, d).
(c) We determine all possible lists (a, b, c, d) that Vicky could input to produce the identical
output (a, b, c, d).
From (b), we must have a + b + c + d = 4 and b + 2c + 3d = 4.
Note that each of a, b, c, d is a non-negative integer.
Since b + 2c + 3d = 4, then d = 0 or d = 1. (If d ≥ 2, the left side would be too large.)
If d = 1, then b + 2c + 3 = 4 or b + 2c = 1. Since b and c are non-negative integers, then
we must have b = 1 and c = 0.
From the first equation, a + b + c + d = 4 and so a + 1 + 0 + 1 = 4 or a = 2.
This would give (a, b, c, d) = (2, 1, 0, 1), but this input produces the output (1, 2, 1, 0), and
so does not satisfy the requirements.
Thus, we cannot have d = 1.
(We note here that if (a, b, c, d) is a list with the desired property, then a+b+c+d = 4 and
b + 2c + 3d = 4, but it is not necessarily true that if a + b + c + d = 4 and b + 2c + 3d = 4,
then the list (a, b, c, d) has the required property.)
Since d cannot be 1, then d = 0, giving a + b + c = 4 and b + 2c = 4.
Using the second equation, c = 0 or c = 1 or c = 2.
If c = 0, then b = 4. However, none of the digits can be larger than 3, so this is not
possible.
If c = 1, then b = 2. In this case, a + 2 + 1 = 4 and so a = 1, giving (a, b, c, d) = (1, 2, 1, 0).
Using this list as input gives output (1, 2, 1, 0), as required.
If c = 2, then b = 0. In this case, a + 0 + 2 = 4 and so a = 2, giving (a, b, c, d) = (2, 0, 2, 0).
Using this list as input gives output (2, 0, 2, 0), as required.
We have exhausted all possibilities, so the lists that Vicky could input that produce
identical output are (1, 2, 1, 0) and (2, 0, 2, 0).
2014 Canadian Intermediate Mathematics Contest Solutions Page 10
Consider a1 next.
Since ak = 1, this fact from the input L tells us that a1 ≥ 1 in the output L.
If a1 = 1, then the input L would include at least two 1s (a1 and ak ), so in the output
version of L, a1 ≥ 2, which disagrees with the input.
Therefore, a1 6= 1, and so a1 ≥ 2.
Since we know that a0 = k and k ≥ 6 and a0 + a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 = 10,
then a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 ≤ 4.
Since ak = 1 already (and k ≥ 6), then we must have a1 ≤ 3.
If a1 = 3, then the a1 in the output would tell us that the input L includes at least three
1s, which would give a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 ≥ 3 + 1 + 1 + 1 = 6, which
is not possible.
Since 2 ≤ a1 ≤ 3 and a1 6= 3, then a1 = 2.
Therefore, the input L includes at least one 2, and so the output L has a2 ≥ 1.
We know that a1 = 2 and a2 ≥ 1 and ak = 1 and a1 +a2 +a3 +a4 +a5 +a6 +a7 +a8 +a9 ≤ 4.
Thus, it must be the case that a2 = 1, otherwise a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9
would be too large.
Since there are exactly 4 non-zero digits, we can also conclude that all of the entries other
than a0 , a1 , a2 , and ak must equal 0.
Since a0 + a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 = 10, then
k = a0 = 10 − (a1 + a2 + a3 + a4 + a5 + a6 + a7 + a8 + a9 ) = 10 − (2 + 1 + 1) = 6
Thus, the only possible input L that produces the same output L is (6, 2, 1, 0, 0, 0, 1, 0, 0, 0).
This list includes six 0s, two 1s, one 2, and one 6, so the output matches the input.
Therefore, there is exactly one list L that can be input to produce the same output. This
list is (6, 2, 1, 0, 0, 0, 1, 0, 0, 0).