Problem 1 J. The numerator and denominator of Juan's fraction are positive integers whose sum is 2011 . The value of this fraction is less than $\frac{1}{3}$. Find the greatest such fraction. Answer. $\quad \frac{502}{1509}$. Solution outline. We clearly have $a<2001$, so the relation can be rewritten as $$ \frac{a}{2011-a}<\frac{1}{3} $$ This rewrites as $4 a<2011$, from which we get that the biggest value of a is 502 , so the smallest value of $b$ is 1509 , giving us the answer $\frac{502}{1509}$. Problem 2 J. Rectangle $A B C D$ intersects a circle at points $E, F, G, H$ as shown in the diagram. If $A E=3, D H=4$, and $G H=5$, find $E F$. ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-01.jpg?height=438&width=615&top_left_y=850&top_left_x=419) Answer. 7. Solution outline. ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-01.jpg?height=403&width=587&top_left_y=1465&top_left_x=433) Let $G_{1}, H_{1}$ be the projections of $G$ and $H$ on the line $A B$. Then we obtain $H_{1} G_{1}=H G=5$. We also have $E H_{1}=G_{1} F$ and $E H_{1}=D H-A E=1$, thus $E F=E H_{1}+H_{1} G_{1}+G_{1} F=7$. Problem 3 J. Find the sum of digits of the number $1+11+101+1001+10001+\cdots+1 \underbrace{0 \ldots 0}_{50}$. Answer. 58 . Solution outline. Our number is equal to $$ \begin{aligned} 1+11 & +101+1001+\cdots+1 \underbrace{0 \ldots 01}_{50}= \\ & =1+(10+1)+(100+1)+(1000+1)+\cdots+(\underbrace{10 \ldots 0}_{51}+1)=\underbrace{11 \ldots 11}_{51} 0+52=\underbrace{11 \ldots 11}_{50} 62 . \end{aligned} $$ From this we get that the sum of digits of our number is 58 . Problem 4 J. T-shirts were made in three colors, red, gray and blue. The number of red T-shirts is six smaller than the total number blue and gray T-shirts. Also, the number of gray T-shirts is ten smaller than the total number red and blue T-shirts. How many blue T-shirts were made? Answer. 8 . Solution outline. Let $a, b, c$ be the number of red, white and respectively blue T-shirts. We then obtain the system of equations $$ \begin{aligned} a & =b+c-6 \\ b & =a+c-10 \end{aligned} $$ By adding the two relations we obtain $c=8$. Problem 5 J. There are 33 walnuts on the table in at least two piles. Each pile consists of at least 2 walnuts. After moving one walnut from each pile to the first one, all piles will have the same number of walnuts. What was the original number of piles? Find all possibilities. Answer. 3 . Solution outline. Let $p_{1}, p_{2}, \ldots p_{n+1}$ be all the piles. Then $p_{2}=p_{3}=\cdots=p_{n+1}=b$, and let $p_{1}=a$. We then obtain $a+n b=33$ and $a+n=b-1$, and by subtracting these two relations we get $b n-n=34-b$, so $(b-1)(n+1)=33$. If $n+1=11$, then $b=4$, and we cannot have $a+n=b-1$, so we are only left with $n+1=3$, which works. Problem 6 J. A rectangle is divided by two segments parallel to its sides into four smaller rectangles. Let's label them $A, B, C, D$ as in the diagram. Given that the perimeters of rectangles $A, B, C$ are 2,4 , and 7 , respectively, find all possible values of the perimeter of rectangle $D$. | $A$ | $B$ | | :--- | :--- | | $C$ | $D$ | Answer. $\quad 9 \mathrm{~cm}$. Solution outline. | $A$ | $x$ | $B$ | | :---: | :---: | :---: | | $t$ | | $y$ | | $C$ | $z$ | $D$ | Let $x, y, z, t$ be the lengths of the sides of the four rectangles, as in the figure, and let $o_{A}, o_{B}, o_{C}$, $o_{D}$ be the perimeters of the rectangles $A, B, C, D$ respectively. Then $$ o_{A}+o_{D}=2(t+x)+2(y+z)=2(x+y)+2(t+z)=o_{B}+o_{C} $$ therefore $o_{D}=4+7-2=9 \mathrm{~cm}$. Problem 7 J. Find pairwise distinct digits $A, B, C$ such that $$ \begin{array}{r} A \\ A B \\ A B C \\ \hline B C B \end{array} $$ Answer. $\quad A=6, B=7, C=4$. Solution outline. Let's write, for conveniance, $a=A, b=B, c=C$. Then we get $a+10 b+c+$ $100 a+10 b+c=100 b+10 c+b$, so $111 a=90 b+9 c$. This means that 9 divides $111 a$, so 3 divides $a$. If $a=3$, then $b=3$ and $c=7$, so $a, b, c$ are not pairwise distinct. If $a=6$, then $b=7$ and $c=4$. If $a=9$, then we obtain $111=10 b+c$, which doesn't satisfy the property that $b$ and $c$ are digits. So the only solution is $a=6, b=7, c=4$. Problem 8 J. Find the area of a rectangle with perimeter $10 \mathrm{~cm}$ and diagonal $\sqrt{15} \mathrm{~cm}$. Answer. $\quad 5 \mathrm{~cm}^{2}$. Solution outline. Let $a$ and $b$ be the sides of our rectangle. Then we obtain $2(a+b)=10, a^{2}+b^{2}=$ 15 , so $$ 2 a b=(a+b)^{2}-\left(a^{2}+b^{2}\right)=5^{2}-15=10 $$ Therefore the area is $5 \mathrm{~cm}^{2}$. Problem 9 J. Andrei took $N^{3}$ equally sized white cubes and used them to form one big cube $N \times N \times N$. Then he colored its surface in red. Given that now one tenth of the total surface of the cubes is red, find $N$. Answer. 10 . Solution outline. Let $S$ be the area of one face of a small cube. Then the sum of the surface areas of all the cubes is $6 N^{3} S$, and the surface area of the big cube is $6 N^{2} S$. The problem statement tells us that $6 S \cdot N^{2}=\frac{6 S}{10} N^{3}$, so $N=10$. Problem 10 J. What is the least possible number of members of a math circle, where girls form more than $48.5 \%$ but less than $50 \%$ of the members? Answer. 35 . Solution outline. Let $g$ be the number of girls in the math circle, and let $N$ be the total number of people in the circle. Then the problem statement tells us that $\frac{48,5}{100} N0$, and $97 N=200 g-b$, for an integer $b$ with $b>0$. The last equation can be rewritten as $97(2 g+a)=200 g-b$, or equivalently $97 a+b=6 g$. If $a=1$, then the smallest value of $b$ which satisfies our equation is $b=5$, which gives us $g=17$ and $N=35$. If $a \geq 2$, then $6 g>194$, so $g \geq 33$, which means $N \geq 67$. Therefore $a=1$ gives us the least value of $N$, which is indeed 35 . Problem 11 J / 1S. If you increase the number of this problem by $n$, you obtain the number of the most shocking problem. Whereas if you increase it by a two-digit number $k$, you obtain the number of the most playful problem. Moreover, we have $n^{3}=k^{2}$. Find $n$ and $k$, given that you have 30 problems left (including this one). Answer. $\quad n=9, k=27$. Solution outline. For $k^{2}$ to be a cube, $k$ must be a cube itself. The only two-digit cube less than 41 is 27 , which gives us $n=9$. Problem 12 J /2 S. Find positive integer $n$ such that $6666^{2}+8888^{2}=n^{2}$. Answer. 11110 . Solution outline. We regroup the terms to get $$ n=\sqrt{1111^{2} \cdot 6^{2}+1111^{2} \cdot 8^{2}}=1111 \sqrt{36+64}=11110 $$ Problem 13J /3S. Find the smallest positive integer, which ends with number 17, which is divisible by 17 , and whose sum of digits is 17 . Answer. 15317 . Solution outline. We write the number in the form $100 \cdot a+17$ for some $a \in \mathbb{N}_{0}$. Since 17 is coprime with 100 , we get that $a$ is divisible by 17 and has sum of digits 9 . Thus it is also a multiple of 9 . Smallest such $a$ is 153 , thus the solution is 15317 . Problem 14 J/4S. Each pair of consecutive digits of a 2011-digit number is a multiple of either 17 or 23 . Its last digit is 1 . Find its first digit. Answer. 3 . Solution outline. Write all two-digit multiples of 17 and 23 to find out that each unit digit appears exactly once. In this way we can restore the original number from its end as ... 9234692346851. Noticing the periodicity, we easily calculate that the first digit is three. Problem 15 J $/ 5$ S. A positive integer is called awesome if any other positive integer with the same sum of digits is greater. How many three-digit awesome numbers exist? Answer. 9 . Solution outline. Realize that for each value $k \in \mathbb{N}$ of the sum of the digits there is exactly one smallest positive integer with this sum of its digits, i.e. one awesome number. Let's denote it $a_{k}$. The number $a_{1} \ldots a_{18}$ will be two digit integers, whereas $a_{28}, a_{29}, \ldots$ will have more than three digits. Also the sums of digits of three-digit integers attain all numbers between 19 and 27 , thus $a_{19}, \ldots, a_{27}$ will indeed have three digits and thus we have 9 awesome three-digit numbers. Problem 16 J / 6 S. Tim has found real numbers $x, y, z$ satisfying $\frac{x-y}{z-y}=-10$. What are the possible values of $\frac{x-z}{y-z}$ ? Answer. 11 . Solution outline. $$ \frac{x-z}{y-z}=\frac{(x-y)+(y-z)}{y-z}=\frac{x-y}{y-z}+\frac{y-z}{y-z}=10+1=11 $$ Problem 17 J / 7 S. The numbers $1,2, \ldots, 9$ are arranged in some order to form a nine-digit integer. Consider all triplets of consecutive digits and add the corresponding seven three-digit numbers. What is the largest result that can be obtained? Answer. $\quad 4648$. Solution outline. Let the digits be $a_{1}, a_{2}, \ldots, a_{9}$. The triplet then equal: $$ 100 a_{1}+10 a_{2}+a_{3}, \quad 100 a_{2}+10 a_{3}+a_{4}, \quad 100 a_{3}+10 a_{4}+a_{5}, \quad \ldots, \quad 100 a_{7}+10 a_{8}+a_{9} $$ so their sum equals $$ 100 a_{1}+110 a_{2}+111 a_{3}+\cdots+111 a_{7}+11 a_{8}+1 a_{9} $$ To maximize the sum we set $a_{3}$ to $a_{7}$ the highest digits and $a_{2}=4, a_{1}=3, a_{8}=2, a_{9}=1$. The result is $$ 111 \cdot(5+\cdots+9)+4 \cdot 110+3 \cdot 100+2 \cdot 11+1 \cdot 1=4648 $$ Problem $18 \mathbf{J} / 8 \mathbf{S .}$ A real number is written in each cell of a $10 \times 10$ square. Emily wrote down all products of two numbers from two distinct cells of the table and noticed that exactly 1000 of these products were negative. How many times did number 0 appear in the original square? Find all possibilities. Answer. $\quad 30,35$. Solution outline. Let $p, n$ be the numbers of positive and negative numbers written in the square, respectively. We observe that we must have $p+n \leq 100$ and $p \cdot n=1000$, which has two solutions 20,50 and 25,40 , which lead to the number of zeros equal to 30 or 35 . Problem $19 \mathrm{~J} / 9 \mathrm{~S}$. Math kingdom started to produce a new set of coins. On the first day they created coins with value $1 \mathrm{MD}$ (Math Dollar). Every other day they created coins with the smallest value which cannot be paid by at most ten existing coins. Which coins did they create on the 2011th day? Answer. 20101. Solution outline. Prove by induction that during the $k$-th day they created coins with value $10(k-1)+1$. The result follow by plugging in $k=2011$. Problem $20 \mathrm{~J} / 10 \mathrm{~S}$. Let the number $p$ be the solution to this problem. Find the probability that a randomly chosen point inside a unit square is at least $p$ units away from all sides. Answer. $\quad \frac{1}{4}$. Solution outline. A point is not closer than $p$ to any of its sides if and only if it lies inside a small square with sidelength $1-2 p$. We calculate the probability as the ratio of areas $$ \frac{(1-2 p)^{2}}{1^{2}}=p $$ This equation has two solutions: $p=\frac{1}{4}$ works, $p=1$ does not. Problem 21 J $/ 11$ S. A $3 \times 3$ square is filled with integers such that the sums of the horizontal rows increase by two going downwards and the sums of the vertical columns double from left to right. Given that the sum of the numbers in one of the rows is 2011 , find the sum of the numbers in the leftmost column. Answer. 861. Solution outline. Let $a$ be the sum of the numbers in the first row and let $b$ be the sum of the numbers in the leftmost column. We calculate the sum of the numbers in the square in two ways to get $3 a+6=7 b$. Distuingishing the three cases based on which row has the sum of the numbers 2011, we get the only integer solution $b=861$. Problem 22 J / 12 S. There are 2 boats, one on each side of a river bank. They both sail towards each other at a constant speed (not necessarily the same). The first time they meet, they are 100 meters from one side of the bank. Once they reach the side of the bank, they turn around and move towards each other again. This time they meet 70 meters from the other side of the bank. How wide is the river? Answer. $\quad 230 \mathrm{~m}$. Solution outline. Let $S$ be the length of the river bank. When the boats first met, they had travelled $S$ meters altogether. When they met the second time, they had travelled $3 S$ meters. For the boat which had travelled 100 meters before the first meeting, we can use the constant speeds to form the equation $3 \cdot 100=S+70$, which yields $S=230$. Problem 23 J /13 S. Vertices of a star form a regular heptagon. What is the magnitude of the marked angle? ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-06.jpg?height=252&width=260&top_left_y=1133&top_left_x=596) Answer. $\quad \frac{3 \pi}{7}=\frac{540^{\circ}}{7}=77^{\circ}+\frac{1^{\circ}}{7}$. Solution outline. ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-06.jpg?height=333&width=325&top_left_y=1516&top_left_x=564) Denote points $A, B, C, D, S$ as in the diagram. If we rotate the segment $A C$ counterclockwise about the center by angle $2 \pi \cdot \frac{2}{7}$, we obtain the segment $D B$. Thus $\angle D S A=\frac{4 \pi}{7}$ and $A S B$ is supplementary. Problem $24 \mathrm{~J} / 14 \mathrm{~S}$. Find $x$ such that $2^{2^{3^{2^{2}}}}=4^{4^{x}}$. Note: the order of operations is: $4^{3^{2}}=4^{9}$. Answer. 40 . Solution outline. Rewrite the righthand side: $$ 4^{4^{x}}=\left(2^{2}\right)^{\left(2^{2}\right)^{x}}=2^{2 \cdot 2^{2 x}}=2^{2^{2 x+1}} $$ So we need $2 x+1=3^{2^{2}}=3^{4}=81$, or in other words $x=40$. Problem 25 J / 15 S. How many triplets of positive integers $(a, b, c)$ exist, such that $$ \frac{\frac{a}{c}+\frac{a}{b}+1}{\frac{b}{a}+\frac{b}{c}+1}=11 $$ and $a+b+c \leq 30$ ? Answer. 24 . Solution outline. Write $1=\frac{a}{a}$ and $1=\frac{b}{b}$ to get $$ \frac{\frac{a}{c}+\frac{a}{b}+1}{\frac{b}{a}+\frac{b}{c}+1}=\frac{a\left(\frac{1}{c}+\frac{1}{b}+\frac{1}{a}\right)}{b\left(\frac{1}{a}+\frac{1}{c}+\frac{1}{b}\right)}=\frac{a}{b}=11 $$ For $b=1, a=11$ we get $c=1,2, \ldots, 18$ and for $b=2, a=22$ we get $c=1,2, \ldots, 6$, which is 24 triplets altogether. Problem 26 J / 16 S. A circle $\omega$ with radius 1, center $O$ and diameter $A C$ is given in the plane. Draw a line $\ell$ through point $O$ such that it is perpendicular to $A C$. Choose a point $U$ on $\ell$ such that $U$ is outside $\omega$. Denote by $B$ the second intersection of $A U$ and $\omega$ and assume $B U=1$. Find $O U$. Answer. $\sqrt{3}$. Solution outline. ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-07.jpg?height=325&width=359&top_left_y=1379&top_left_x=547) Since $O B=1=B U$, the triangle $O U B$ is isosceles. Thus $B$ lies on the perpendicular bisector of $A O U$ and also on its hypotenuse, so it is the midpoint of the hypotenuse. Thus $A B=1$ and Pythagorean theorem gives $O U=\sqrt{3}$. Problem 27 J / 17 S. Two nations $A$ and $B$ are in a battle with 1000 soldiers involved altogether. The armies take turns to attack. In each turn every living soldier from the attacking army shoots a soldier from the enemy's army. The battle ended (not necessarily by elimination of one of the sides) after three turns ( $A$ was shooting first, then $B$ and finally $A$ again). What is the least guaranteed number of survivors? Answer. 200 . Solution outline. Assume $n$ soldiers survived and deduce that there must have been at most $5 n$ soldiers at the beginning of the battle. Also note that 200 survivors are indeed possible. Problem 28J / 18 S. All six sides of a convex hexagon $A_{1} A_{2} A_{3} A_{4} A_{5} A_{6}$ are colored in red. Each of the diagonals is either blue or red. Find the number of such colorings that each triangle $A_{i} A_{j} A_{k}(i \neq j \neq k \neq i)$ has at least one red side. Answer. $\quad 392=7 \cdot 7 \cdot 8$. Solution outline. Apart from $A_{1} A_{3} A_{5}$ and $A_{2} A_{4} A_{6}$ (dashed in the diagram) all other triangles have a red edge. Every dashed triangle can be colored in $2^{3}-1=7$ ways. Finally, we have $2^{3}=8$ ways to color the dotted diagonals $A_{1} A_{4}, A_{2} A_{5}, A_{3} A_{6}$. Altogether, this gives us $7 \cdot 7 \cdot 8=392$ suitable colorings. ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-08.jpg?height=371&width=527&top_left_y=714&top_left_x=463) Problem 29 J / 19 S. Malcom told each Michal and Shri a positive integer. Further, he told them, that the numbers they heard were distinct and that their sum is a two-digit number. Then the following conversation took place: Michal: "I cannot determine which one of us has the greater number." Shri: "I can't determine it either, but I will tell you that my number is divisible by 17 ." Michal: "Wow! Now, I can determine the sum of our numbers." Find the value of this sum, given that the logic Michal and Shri used was flawless. Answer. 51. Solution outline. Since neither of them can determine whose number is greater, neither has a number greater than fifty. Moreover, since Shri's number is divisible by 17 it can be either 17 or 34. For Michal to be able to determine the sum of the two numbers, he must have the other one (the numbers are distinct!). Hence the sum is 51 . Problem 30 J / 20 S. There are 55 guests in a café, Turks and Indians. Each of them drinks either tea or coffee. An Indian speaks truth if he drinks tea and lies if he drinks coffee, whereas with the Turks it is the other way round. For questions "Do you drink coffee?", "Are you Turkish?" and "Is it raining outside?" the numbers of positive answers were 44,33 , and 22 , respectively. How many Indians drink tea? Find all possibilities. Answer. 0 . Solution outline. Form equations and find two solutions (based on whether it is raining outside or not) one of which does not work since there would be $\frac{11}{2}$ Indians drinking tea, which is against humanity. The other solution works and yields 0 Indians drinking tea. Problem 31 J/21 S. Three digits were written to the end of a positive integer $A$. The resulting number was equal to the sum of numbers from 1 to $A$. Find all possible values of $A$. Answer. 1999 . Solution outline. Let $B$ be the three digit-integer written to the end of $A$. Since $1+2+\cdots+A=$ $\frac{1}{2} A(A+1)$, we have $$ 1000 A+B=\frac{A(A+1)}{2} $$ which we transform to $2 B=A(A-1999)$. The left handside is between 0 and $2 \cdot 999$, whereas the righthand side is negative for $A \leq 1998$ and greater than $2000 \cdot 1$ for $A \geq 2000$. We are left with $A=1999$ which satisfies the problem for $B=000$. Problem 32 J / 22 S. Alice, Betty, Claudia, Daniel, and Eli were playing doubles tournament in table-tennis. Each pair played against each other pair exactly once. Alice won 12 games and Betty won 6 games. How many games could Claudia win? Find all possibilities. Answer. 4. Solution outline. We calculate that each player plays in 12 games. This implies Alice won all of her games and also that Betty won all games which were not against Alice. This ensures we know the result of every game and we find that Claudia won 4 games. Problem 33 J / 23 S. Two players are playing a game on the given plan consisting of 30 cells. The rules are the following. - players take turns, - in one move a player colors one cell, - in the first move, only a cell neighbouring with the edge can be colored. In any other moves, only a cell which is next to the last colored cell and is not further away from the center, can be colored, - once a cell is colored, it cannot be colored again. - the player who can no longer make a move, loses. How many cells will be colored by the end of the game, in which both players play perfectly and the one who cannot win tries to make the game as long as possible? ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-09.jpg?height=434&width=452&top_left_y=1369&top_left_x=500) Answer. 18 . Solution outline. Show that the second player has a winning strategy. The game is going to look something like this with 18 moves. ![](https://cdn.mathpix.com/cropped/2024_06_04_6159cebfca459358132ag-10.jpg?height=442&width=454&top_left_y=146&top_left_x=499) Problem $34 \mathbf{J} / 24 \mathrm{~S}$. In triangle $A B C$ with $A C=B C$, we find a point $P(P \neq B)$ on the side $A B$, such that $P B