A u s t r a l i a n M at h e m at i c a l O ly m p i a d C o m m i t t e e a d e p a r t m e n t o f t h e a u s t r a l i a n m at h e m at i c s t r u s t Australian Intermediate Mathematics Olympiad 06 Questions. Find the smallest positive integer x such that x = 5y, where y is a positive integer. [ marks]. A -digit number in base 7 is also a -digit number when written in base 6, but each digit has increased by. What is the largest value which this number can have when written in base 0? [ marks]. A ring of alternating regular pentagons and squares is constructed by continuing this pattern. How many pentagons will there be in the completed ring? [ marks] 4. A sequence is formed by the following rules: s =,s = and s n+ = s n + s n+ for all n. What is the last digit of the term s 00? [ marks] 5. Sebastien starts with an 8 grid of white squares and colours some of them black. In each white square, Sebastien writes down the number of black squares that share an edge with it. Determine the maximum sum of the numbers that Sebastien could write down. [ marks] 6. A circle has centre O. A line PQ is tangent to the circle at A with A between P and Q. The line PO is extended to meet the circle at B so that O is between P and B. AP B = x where x is a positive integer. BAQ = kx where k is a positive integer. What is the maximum value of k? [4 marks] PLEASE TURN OVER THE PAGE FOR QUESTIONS 7, 8, 9 AND 0 06 AMT Publishing
7. Let n be the largest positive integer such that n + 06n is a perfect square. Determine the remainder when n is divided by 000. [4 marks] 8. Ann and Bob have a large number of sweets which they agree to share according to the following rules. Ann will take one sweet, then Bob will take two sweets and then, taking turns, each person takes one more sweet than what the other person just took. When the number of sweets remaining is less than the number that would be taken on that turn, the last person takes all that are left. To their amazement, when they finish, they each have the same number of sweets. They decide to do the sharing again, but this time, they first divide the sweets into two equal piles and then they repeat the process above with each pile, Ann going first both times. They still finish with the same number of sweets each. What is the maximum number of sweets less than 000 they could have started with? [4 marks] 9. All triangles in the spiral below are right-angled. The spiral is continued anticlockwise. X 4 X X X O X 0 Prove that X 0 + X + X + + X n = X 0 X X X n. [5 marks] 0. For n, consider n points spaced regularly on a circle with alternate points black and white and a point placed at the centre of the circle. The points are labelled n, n +,..., n, n so that: (a) the sum of the labels on each diameter through three of the points is a constant s, and (b) the sum of the labels on each black-white-black triple of consecutive points on the circle is also s. Show that the label on the central point is 0 and s = 0. [5 marks] Investigation Show that such a labelling exists if and only if n is even. [ bonus marks] The Mathematics/Informatics Olympiads are supported by the Australian Government through the National Innovation and Science Agenda. 06 AMT Publishing
A u s t r a l i a n M at h e m at i c a l O ly m p i a d C o m m i t t e e a d e p a r t m e n t o f t h e a u s t r a l i a n m at h e m at i c s t r u s t Australian Intermediate Mathematics Olympiad 06 Solutions. Method We have x =5 y where x and y are integers. So divides y. Since is prime, divides y. Hence divides x. Also 5 divides x. So the smallest value of x is 5 = 75. Method The smallest value of x will occur with the smallest value of y. Since and 5 are relatively prime, divides y. The smallest value of y for which this is possible is y = 6. So the smallest value of x is (5 6)/ = 75.. abc 7 =(a + )(b + )(c + ) 6. This gives 49a +7b + c = 6(a + ) + 6(b + ) + c +. Simplifying, we get a + b = 4. Remembering that a + and b + are less than 6, and therefore a and b are less than 5, the only solution of this equation is a =, b = 4. Hence the number is 4c 7 or 45(c + ) 6. But c + 5 so, for the largest such number, c = 4. Hence the number is 44 7 = 79. 06 AMT Publishing
. Method The interior angle of a regular pentagon is 08. So the angle inside the ring between a square and a pentagon is 60 08 90 = 6. Thus on the inside of the completed ring we have a regular polygon with n sides whose interior angle is 6. The interior angle of a regular polygon with n sides is 80 (n )/n. So 6n = 80(n ) = 80n 60. Then 8n = 60 and n = 0. Since half of these sides are from pentagons, the number of pentagons in the completed ring is 0. Method The interior angle of a regular pentagon is 08. So the angle inside the ring between a square and a pentagon is 60 08 90 = 6. Thus on the inside of the completed ring we have a regular polygon with n sides whose exterior angle is 80 6 = 8. Hence 8n = 60 and n = 0. Since half of these sides are from pentagons, the number of pentagons in the completed ring is 0. Method The interior angle of a regular pentagon is 08. So the angle inside the ring between a square and a pentagon is 60 08 90 = 6. Thus on the inside of the completed ring we have a regular polygon whose interior angle is 6. The bisectors of these interior angles form congruent isosceles triangles on the sides of this polygon. So all these bisectors meet at a point, O say. The angle at O in each of these triangles is 80 6 = 8. If n is the number of pentagons in the ring, then 8n = 60/ = 80. So n = 0. 4. Working modulo 0, we can make a sequence of last digits as follows:,, 5, 9, 6, 7, 5, 4,, 7, 0, 9,,,... Thus the last digits repeat after every terms. Now 00 = 6 + 8. Hence the 00th last digit will the same as the 8th last digit. So the last digit of s 00 is 4. 5. For each white square, colour in red the edges that are adjacent to black squares. Observe that the sum of the numbers that Sebastien writes down is the number of red edges. The number of red edges is bounded above by the number of edges in the 8 grid that do not lie on the boundary of the grid. The number of such horizontal edges is 7, while the number of such vertical edges is 0 8. Therefore, the sum of the numbers that Sebastien writes down is bounded above by 7 + 0 8 = 787. Now note that this upper bound is obtained by the usual chessboard colouring of the grid. So the maximum sum of the numbers that Sebastien writes down is 787.
6. Method Draw OA. O B P x kx A Q Since OA is perpendicular to PQ, OAB = 90 kx. Since OA = OB (radii), OBA = 90 kx. Since QAB is an exterior angle of P AB, kx = x + (90 kx). Rearranging gives (k )x = 90. For maximum k we want k to be the largest odd factor of 90. Then k = 45 and k =. Method Let C be the other point of intersection of the line PB with the circle. C O B P x kx A Q By the Tangent-Chord theorem, ACB = QAB = kx. Since BC is a diameter, CAB = 90. By the Tangent-Chord theorem, P AC = ABC = 80 90 kx = 90 kx. Since ACB is an exterior angle of P AC, kx = x + 90 kx. Rearranging gives (k )x = 90. For maximum k we want k to be the largest odd factor of 90. Then k = 45 and k =.
7. Method If n + 06n = m, where n and m are positive integers, then m = n + k for some positive integer k. Then n + 06n =(n + k). So 06n =nk + k, or n = k /(06 k). Since both n and k are positive, we must have 06 k >0, or k <06. Thus k 007. As k increases from to 007, k increases and 06 k decreases, so n increases. Conversely, as k decreases from 007 to, k decreases and 06 k increases, so n decreases. If we take k = 007, then n = 007 /, which is not an integer. If we take k = 006, then n = 006 /4= 50. So n 50. If k = 006 and n = 50, then (n+k) = (50 +006) = (50 + 50) = 50 (50+) = 50 (50 +4 50 + 4) = 50 (50 + 06) = n + 06n. So n + 06n is indeed a perfect square. Thus 50 is the largest value of n such that n + 06n is a perfect square. Since 50 = (500 + ) = 500 + 500 + = 50000 + 000 + 9 = 5009, the remainder when n is divided by 000 is 9. Method If n + 06n = m, where n and m are positive integers, then m =(n + 008) 008. So 008 =(n + 008 + m)(n + 008 m) and both factors are even and positive. Hence n + 008 + m = 008 /(n + 008 m) 008 /. Since m increases with n, maximum n occurs when n + 008 + m is maximum. If n + 008 + m = 008 /, then n + 008 m =. Adding these two equations and dividing by gives n + 008 = 504 + and n = 504 008 + = (504 ) = 50. If n = 50, then n + 06n = 50 (50 + 06). Now 50 + 06 = (504 ) + 06 = 504 + 008 + = (504 + ) = 505. So n + 06n is indeed a perfect square. Thus 50 is the largest value of n such that n + 06n is a perfect square. Since 50 = (500 + ) = 500 + 500 + = 50000 + 000 + 9 = 5009, the remainder when n is divided by 000 is 9. Method If n + 06n = m, where n and m are positive integers, then solving the quadratic for n gives n =( 06 + 06 +4m )/ = 008 + m 008. So 008 + m = k for some positive integer k. Hence (k m)(k +m) = 008 and both factors are even and positive. Hence k + m = 008 /(k m) 008 /. Since m, n, k increase together, maximum n occurs when m + k is maximum. If k + m = 008 /, then k m =. Subtracting these two equations and dividing by gives m = 504 and 008 + m = 008 + (504 ) =4 504 + 504 4 504 + = 504 4 + 504 + = (504 + ). So n = 504 + 504 = (504 ) = 50. If n = 50, then n + 06n = 50 (50 + 06). Now 50 + 06 = (504 ) + 06 = 504 + 008 + = (504 + ) = 505. So n + 06n is indeed a perfect square. Thus 50 is the largest value of n such that n + 06n is a perfect square. Since 50 = (500 + ) = 500 + 500 + = 50000 + 000 + 9 = 5009, the remainder when n is divided by 000 is 9. 4
8. Suppose Ann has the last turn. Let n be the number of turns that Bob has. Then the number of sweets that he takes is + 4 + 6 + +n =(++ + n) =n(n + ). So the total number of sweets is n(n + ). Suppose Bob has the last turn. Let n be the number of turns that Ann has. Then the number of sweets that she takes is + + 5 + + (n ) = n. So the total number of sweets is n. So half the number of sweets is n(n + ) or n. Applying the same sharing procedure to half the sweets gives, for some integer m, one of the following four cases:. n(n +)=m(m + ). n(n +)=m. n =m(m + ) 4. n =m. In the first two cases we want n such that n(n + ) < 500. So n. In the first case, since divides m or m +, we also want 4 to divide n(n + ). So n 0. Since 0 = 40 = 4 5, the total number of sweets could be 40 = 840. In the second case n(n + ) is a perfect square. So n<0. In the last two cases we look for n so that n > 840/ = 40. We also want n even and n < 500. So n =. In the third case, m(m + ) = = 4 but 5 6 = 40 while 6 7 = 7. In the fourth case, m = 4 but 4 is not a perfect square. So the maximum total number of sweets is 840. 5
9. Method For each large triangle, one leg is X n. Let Y n be the other leg and let Y n+ be the hypotenuse. Note that Y = X 0. Y n+ X n Y n By Pythagoras, Yn+ = Xn + Yn = Xn + Xn + Yn = Xn + Xn + Xn + Yn = Xn + Xn + Xn + + X + Y = Xn + Xn + Xn + + X + X0 The area of the triangle shown is given by Y n+ and by X ny n. Using this or similar triangles we have Y n+ = X n Y n = X n X n Y n = X n X n X n Y n = X n X n X n X Y = X n X n X n X X 0 So X 0 + X + X + + X n = X 0 X X X n 6
Method For each large triangle, one leg is X n. Let Y n be the other leg and let Y n be the hypotenuse. Note that Y 0 = X 0. Y n X n Y n From similar triangles we have Y /X = X 0 /. So Y = X 0 X. By Pythagoras, Y = X0 + X. So X0 + X = Y = X0 X. Assume for some k Y k = X 0 + X + X + + X k = X 0 X X X k From similar triangles we have Y k+ /X k+ = Y k /. So Y k+ = Y k X k+. By Pythagoras, Yk+ = X k+ + Y k. So X k+ + Y k = Y k+ = Y k X k+. Hence X 0 + X + X + + X k + X k+ = X 0 X X X k X k+ By induction, X0 + X + X + + Xn = X0 X X Xn for all n. 7
0. Method Let b and w denote the sum of the labels on all black and white vertices respectively. Let c be the label on the central vertex. Then b + w + c = 0 () Summing the labels over all diameters gives b + w + nc = ns () Summing the labels over all black-white-black arcs gives b + w = ns () From () and (), (n )c = ns (4) Hence n divides c. Since n c n, c = 0, n, or n. Suppose c = ±n. From () and (), b = nc = ±n. Since b ++ + n<n, we have a contradiction. So c = 0. From (4), s = 0. Method For any label x not at the centre, let x denote the label diametrically opposite x. Let the centre have label c. Then x + c + x = s. If x, y, z are any three consecutive labels where x and z are on black points, then we have x + c + x = y + c + y = z + c + z = s. Adding these yields x + y + z +c + x + y + z =s. Since there are an even number of points on the circle, diametrically opposite points have the same colour. So x + y + z = s = x + y + z and s =c. Hence p + p =c for any label p on the circle. Since there are n such diametrically opposite pairs, the sum of all labels on the circle is nc. Since the sum of all the labels is zero, we have 0 = nc + c = c(n + ). Thus c = 0, and s =c = 0. 8
Investigation Since c =0=s, for each diameter, the label at one end is the negative of the label at the other end. Let n be an odd number. Each diameter is from a black point to a white point. If n =, we have: a c b b c Hence a + b c =0=a b + c. So b = c, which is disallowed. If n>, we have: a c b a d d a b c Hence b + c + d =0= a b c = a + b + c. So a = d, which is disallowed. So the required labelling does not exist for odd n. bonus 9
Now let n be an even number. We show that a required labelling does exist for n =m 4. It is sufficient to show that n + consecutive points on the circle from a black point to a black point can be assigned labels from ±, ±,..., ±n, so that the absolute values of the labels are distinct except for the two end labels, and the sum of the labels on each black-white-black arc is 0. We demonstrate such labellings with a zigzag pattern for clarity. Essentially, with some adjustments at the ends and in small cases, we try to place the odd labels on the black points, which are at the corners of the zigzag, and the even labels on the white points in between. Case. m odd. m = 5 6 4 6 m =5 9 7 0 6 4 5 8 0 General odd m. (m ) (m ) (m + 4) (m + ) m m 6 4 m m 4 m 8 6 m m 5 m bonus 0
Case. m even. m = 4 m =4 7 4 5 6 8 8 m =6 9 8 6 4 7 0 5 General even m. (m ) (m ) (m + 5) (m + ) m 6 6 (m + ) m 4 m 8 8 4 m m 5 m m m Thus the required labelling exists if and only if n is even. bonus
Comments. The special case m = gives the classical magic square: 8 4 4 4 4 5 9 6 7. It is easy to check that, except for rotations and reflections, there is only one labelling for m =. Are the general labellings given above unique for all m?. Method shows that the conclusion of the Problem 0 also holds for non-integer labels provided their sum is 0.
Marking Scheme. Establishing divides y or divides y. Correct answer (75).. Establishing the 00s digit is and the 0s digit is 4. Correct answer (79).. Establishing the interior angle of the ring is 6. Further progress. Correct answer (0). 4. A recurring sequence of last digits. Correct position of 00th last digit in the repetend. Correct answer (4). 5. A useful approach. Establishing 787 as an upper bound. Establishing 787 as the maximum. 6. A useful diagram. A useful equation. Another useful equation. Correct answer (). 7. Establishing a relevant upper bound. Establishing 50 as an upper bound for n. Establishing 50 as the maximum for n. Correct answer (9). 8. Establishing a formula for the number of sweets if Ann has last turn. Establishing a formula for the number of sweets if Bob has last turn. Establishing 840 as a possible number of sweets. Establishing 840 as the maximum number of sweets. 9. Useful diagram and notation. Some progress. Further progress. Substantial progress. Correct conclusion. 0. A relevant equation. A second relevant equation. A third relevant equation. Further progress. Correct conclusion. Investigation: Establishing n is not odd. bonus Establishing a labelling for n =m with m odd. bonus Establishing a labelling for n =m with m even. bonus The Mathematics/Informatics Olympiads are supported by the Australian Government through the National Innovation and Science Agenda. 06 AMT Publishing