Problem 1. Given is a cubical-shaped boulder with an original volume of $216 \mathrm{~m}^{3}$. What size is the surface of the boulder in $\mathrm{m}^{2}$ after knocking out a cuboidal block of dimensions $1 \mathrm{~m} \times 1 \mathrm{~m} \times 2 \mathrm{~m}$ as shown in the picture below? ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-01.jpg?height=282&width=277&top_left_y=253&top_left_x=889) Result. 216 Solution. Since $6^{3}=216$, the side length of the cube is $6 \mathrm{~m}$. The missing block does not change the surface of the cube, hence the area of the surface is $6 \cdot 6^{2}=216 \mathrm{~m}^{2}$. Problem 2. The two friends Christoph and Jonas hit the jackpot and bought a nice rectangular property of dimensions $35 \mathrm{~m}$ by $25 \mathrm{~m}$. They are planning to build a twin house and share garden $G$ of size $300 \mathrm{~m}^{2}$. The building floor plan can be seen in the picture: ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-01.jpg?height=208&width=282&top_left_y=867&top_left_x=887) (The distance between two neighboring grid lines is $5 \mathrm{~m}$.) How far must wall $b$ intrude from one section of the twin house into the other one so that the base areas of the friends' parts are equal? Result. $8.75 \mathrm{~m}$ Solution. The base area of one house is half of $35 \mathrm{~m} \cdot 25 \mathrm{~m}-300 \mathrm{~m}^{2}=575 \mathrm{~m}^{2}$, that is $287.5 \mathrm{~m}^{2}$. Since one side length of the rectangular house is $10 \mathrm{~m}$, the other side length must be $28.75 \mathrm{~m}$. Therefore, we get $b=8.75 \mathrm{~m}$. Problem 3. Little Marcus wants to go to the beach. He owns the following distinguishable beach-outfits: 5 swimming trunks, 3 straw hats, 4 sunglasses and 5 T-shirts. To comply with the beach rules, he has to wear swimming trunks. Wearing sunglasses, hats and T-shirts is not obligatory at all, but if he puts on some outfit, he always takes at most one of each category. How many different ways are there for Marcus to appear in an appropriate outfit? Result. 600 Solution. Observe that the option of wearing nothing can be viewed as an additional outfit. Considering the hats, Marcus has to choose between not wearing a hat at all, wearing the first hat, the second one, or the third one, which gives 4 possibilities in total for the hats. Similarly, there are 5 possibilities to wear the sunglasses and 6 possibilities of wearing a T-shirt. Since Marcus has to put on one of the 5 swimming trunks, in total he has $5 \cdot 4 \cdot 5 \cdot 6=600$ possibilities to appear in an appropriate outfit. Problem 4. Laura spent her vacation in a rain forest. Each day it either rained in the morning, or it rained in the afternoon, or it rained the whole day. Laura enjoyed altogether 13 days, when it did not rain all the time, but experienced exactly 11 morning rains and 12 afternoon rains. How long was Laura's vacation? Result. 18 days Solution. Let $v$ be the number of days of Laura's vacation. Then $v-11$ is the number of days when it did not rain in the morning, and similarly $v-12$ is the number of days when it did not rain in the afternoon. Since there was no day without any rain, we see that $$ (v-11)+(v-12)=13 $$ or $v=18$. Problem 5. Find the smallest non-negative integer solution of the equation $n-2 \cdot \mathrm{Q}(n)=2016$, where $\mathrm{Q}(n)$ is the sum of the digits of $n$. Result. 2034 Solution. The number $n-\mathrm{Q}(n)$ is always divisible by 9 . Since 2016 is divisible by 9 , also $\mathrm{Q}(n)$ and consequently $n$ have to be divisible by 9 . Clearly $n<3000$, so $Q(n) \leq 2+9+9+9$, thus $n=2016+2 \mathrm{Q}(n) \leq 2074$. Now the only solution 2034 can easily be found. Problem 6. How many positive integers have the property that their first (i.e. leftmost) digit is equal to their number of digits? Result. 111111111 Solution. If $n$ is a non-zero digit, then there are exactly $10^{n-1}$ numbers starting with $n$ and fulfilling the property from the statement, for these are precisely the integers between $\overline{n 0 \ldots 0}$ and $\overline{n 9 \ldots 9}$. We conclude that there are $$ 1+10+\cdots+100000000=111111111 $$ such numbers in total. Problem 7. A paving consists of many pavers, one of which has the shape of a regular $n$-gon, completely surrounded by other pavers. When this paver is rotated by $48^{\circ}$ about its center, it fits again in its former position. What is the minimal $n$ for which this is possible? Result. 15 Solution. A regular $n$-gon is preserved by a rotation precisely if it is by a multiple of the angle between the segments connecting two consecutive vertices with the center. This angle is $360^{\circ} / n$, so we seek the smallest positive $n$ such that $$ \frac{48}{\frac{360}{n}}=\frac{2}{15} n $$ is an integer. The result is $n=15$. Problem 8. A day is called happy if its date written in the format DD.MM. YYYY consists of eight distinct digits-here $D D$ fills in for the day, $M M$ for the month and $Y Y Y Y$ for the year, and if the day and the month is less than 10, a leading zero is prepended. For example, 26.04 .1785 was a happy day. When is the next happy day (from now) going to be? Result. 17.06 .2345 Solution. The month of a happy day either contains a zero or is 12 , so either the year does not contain a zero or exceeds 3000. Let us pursue the former case. Since the leading digit of the day is one of $0,1,2,3$, we see that the year has to be at least 2145. However, this implies that the day is 30 , which collides with the month. The second smallest possible year is 2345 . We shall show that there is a happy day in that year. The leading digit of the day has to be 1 , so the first possible month is 06 . Finally, setting the day to be 17 is enough to complete the date of the happy day. Problem 9. How many different planes contain exactly four vertices of a given cuboid? Result. 12 Solution. There are six planes containing the faces of the cuboid, and further for each pair of opposite faces, there are two planes perpendicular to these faces and containing a face diagonal. In total there are 12 planes. Problem 10. Little Sandra wants to draw a beautiful crescent using ruler and compass. First of all, she draws a circle with center $M_{1}$ and radius $r_{1}=3 \mathrm{~cm}$. Then she sets the compass at a point $M_{2}$ of this circle and draws a second circle with radius $r_{2}$ which meets the first circle in antipodal points of a diameter through $M_{1}$, as shown in the picture below. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-02.jpg?height=297&width=349&top_left_y=1896&top_left_x=862) What is the area of the crescent $A$ in $\mathrm{cm}^{2}$ ? Result. 9 Solution. To get the area of $A$, we have to subtract the area of the circular segment (center $M_{2}$, radius $r_{2}$ ) from the area of the semicircle (center $M_{1}$, radius $r_{1}$ ). For the area of the segment we calculate the area of the quadrant with radius $r_{2}$ and subtract the area of the isosceles right-angled triangle with leg $r_{2}$. Using the fact that $r_{2}^{2}=2 r_{1}^{2}$ (the Pythagorean theorem), we infer that the sought area is $$ \frac{\pi r_{1}^{2}}{2}-\left(\frac{\pi r_{2}^{2}}{4}-r_{1}^{2}\right)=r_{1}^{2}=9 \mathrm{~cm}^{2} $$ Problem 11. All servants of King Octopus have six, seven, or eight legs. The ones having seven legs always lie, whereas the ones having six or eight legs always tell the truth. One day, King Octopus assembled four of his servants and asked them how many legs the four of them had altogether. The first servant reported that the total number of legs was 25 , the next one claimed 26 , the third one said 27 and the last one 28 . How many legs do the the king's truth-telling servants (among these four) have in total? Result. 6 Solution. Only one of the answers may be correct, so there are either three or four liars among the servants. However, if there were four of them, they would have 28 legs in total, implying that the last servant did not lie-a contradiction. So, the lying servants have 21 legs altogether. If the sole truth-telling servant had eight legs, the total number would be 29 , which is not among the answers. We deduce that the truth-teller had six legs (and it was the third one to report the number of legs). Problem 12. A shop sells bars of milk, white, and dark chocolate for the same price. One day, the shop earned 270 for the sold milk chocolate, 189 for the white chocolate, and 216 for the dark chocolate. What is the smallest total number of chocolate bars the shop could have sold on that day? Result. 25 Solution. The price of a single chocolate bar is a common divisor of the amounts in the statement. Should the number of bars be minimal, the price has to be the greatest possible, i.e. the greatest common divisor. Since $\operatorname{GCD}(270,189,216)=27$, we infer that the total number of sold bars is $$ \frac{270}{27}+\frac{189}{27}+\frac{216}{27}=25 $$ Problem 13. A father of five children wants to have pastries for his family for tea time. Based on painful experience he knows that he has to distribute either the same type or five different types of pastry to his children, or else all kinds of heavy dispute will arise among the kids. One day, after a long discussion without any consent on the type of pastries, he exasperatedly instructed his youngest daughter Anna: "You'll go to the pastry shop and ask the salesgirl to give you $x$ pieces of pastries randomly! After you return home, each of the children shall get exactly one piece of pastry and the remaining pieces will be for mom and dad!" Assuming that the shop sells more than five types of pastry and it is always well stocked with every type, what number $x$ did the father choose in order to keep the peace among his children in any case and to keep the costs as low as possible at the same time? Result. 17 Solution. If Anna ordered 16 or less pieces of pastry to be taken randomly, trouble among the kids could arise: For example in case of receiving 4 brownies, 4 blueberry muffins, 4 honey scones, and 4 danish, or less pieces of any of these, there are neither five pieces of the same type nor five pieces different from each other. On the other hand, if she asks for 17 random pieces, there might be five or more different types of pastry and the children would be happy. Otherwise there are at most four different types; however, in such a case, if there were less than five pieces of each type, there would be at most $4 \cdot 4=16$ pieces in total-a contradiction. We conclude that the father suggested Anna to ask the salesgirl for 17 randomly chosen pieces of pastry. Problem 14. What is the ratio of the area of a circle to the area of a square, perimeters of which are equal? Result. $4: \pi$ Solution. Let $r$ be the radius of the circle and $a$ be the side length of the square. Since $2 \pi r=4 a$, we compute the ratio of areas as $$ \frac{\pi r^{2}}{a^{2}}=\frac{2 r \cdot \pi r}{a \cdot 2 a}=\frac{2 r \cdot 2 a}{a \cdot \pi r}=\frac{4}{\pi} $$ Problem 15. In February, Paul decided to visit the Cocos Islands with his private jet. He took off from his mansion in Europe at 10:00 Central European Time (CET) and landed on the Islands the next day at 5:30 local time (Cocos Islands Time, CCT). When returning home, he started at 8:30 CCT and landed at 17:00 CET the same day. Assuming that the duration of the flight was the same in both cases, what was the time on the Cocos Islands when Paul returned home? Result. $22: 30$ Solution. Let $d$ be the duration of the flight and $s$ the difference between the time in Europe and on the Cocos Islands (in hours). The statement may be rewritten as the system of equations $$ \begin{aligned} & d+s=19.5 \\ & d-s=8.5 \end{aligned} $$ with the solution $d=14, s=5.5$. We deduce that Paul returned home at 22:30 of the Cocos Islands Time. Note: The Cocos Islands indeed use the time zone GMT+6:30. Problem 16. The numbers 14, 20, and $n$ fulfill the following condition: Whenever we multiply any two of them, the result is divisible by the third one. Find all positive integers $n$ for which this property holds. Result. $70,140,280$ Solution. Since $n$ divides $14 \cdot 20=2^{3} \cdot 5 \cdot 7$, only the primes 2,5 , and 7 may occur in the factorization of $n$, with 5 and 7 occurring at most once and 2 at most three times. Further, from $14 \mid 20 n$ wee see that $n$ is a multiple of 7 , and similarly, $20 \mid 14 n$ implies $10 \mid n$, so $70 \mid n$. It remains to conclude that all of the possible numbers 70,140 , 280 fulfill the conditions from the statement. Problem 17. A rectangle is divided into two trapezoids along the line segment $x$ as in the picture below. The distance $P A$ is $10 \mathrm{~cm}$ and $A Q$ is $8 \mathrm{~cm}$. The area of the trapezoid $T_{1}$ is $90 \mathrm{~cm}^{2}$ and the area of $T_{2}$ is $180 \mathrm{~cm}^{2}$. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-04.jpg?height=288&width=488&top_left_y=610&top_left_x=790) What is the length of the segment $x$ in $\mathrm{cm}$ ? Result. 17 Solution. Denote by $R, S$ the other two vertices of the rectangle, $B$ the other endpoint of $x$, and $M$ the point on $S R$ such that $S M=P A=10$. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-04.jpg?height=332&width=488&top_left_y=1096&top_left_x=790) As $P Q=18$ and the area of rectangle $P Q R S$ is $180+90=270$, it follows that $P S=Q R=270 / 18=15$. The formula for the area of trapezoid $T_{2}$ states that $$ 180=\frac{1}{2}(B R+A Q) \cdot Q R $$ or $B R=16$. Now $B M=B R-M R=8$ and using the Pythagorean theorem, $$ x=\sqrt{A M^{2}+B M^{2}}=\sqrt{289}=17 $$ Problem 18. Elisabeth has harvested strawberries in her garden. She wants to distribute them to her four sons in such a way that each son gets at least three strawberries and Valentin receives more strawberries than Benedikt, Benedikt more than Ferdinand, and Ferdinand more than Michael. Each son knows his number of strawberries, the total number of strawberries distributed, and the above-mentioned conditions. How should Elisabeth distribute the strawberries in order to hand as few as possible of them and none of her sons is able to determine the whole distribution? Result. $(M, F, B, V)=(3,5,6,8)$ Solution. Let us denote by $V$ the number of Valentin's strawberries; obviously, $V \geq 6$. By analysing cases, we will show that Elisabeth cannot distribute less than 22 strawberries. If $V=6$, there is only one possible distribution, namely $(3,4,5,6)$. In the case $V=7$, each of the possible distributions $(3,4,5,7),(3,4,6,7),(3,5,6,7)$, and $(4,5,6,7)$ uses a different number of strawberries, therefore Valentin, knowing the total number, can determine the distribution. Similarly, for $V=8$ or $V=9$, only the distributions $(3,4,5,8),(3,4,6,8)$, and $(3,4,5,9)$ exist (with less than 22 strawberries), each one being computable by Valentin. On the other hand, the distribution $(3,5,6,8)$ satisfies all the conditions: Valentin and Michael cannot distinguish it from $(3,4,7,8)$, whereas Ferdinand and Benedikt can think that the distribution is $(4,5,6,7)$. It remains to show that no other distribution of 22 strawberries complies with the requirements: From $(3,4,5,10),(3,4,6,9),(3,4,7,8)$, and $(4,5,6,7)$, the third one can be deduced by Benedikt and the remaining three by Valentin. Problem 19. We write all the integers from 1 to 1000 consecutively clockwise along the circumference of a circle. We now mark some of the numbers: Starting with 1, go clockwise and mark every 15 th number (i.e. 16,31 etc.). We continue this way, until we are forced to mark a number which we have already marked. How many numbers stay unmarked at the end of the procedure? Result. 800 Solution. In the first pass, all the numbers of the form $15 k+1$ (for some integer $k$ ) are marked, starting with 1 and ending with 991; the following pass starts with 6 and ends with 996 , marking all the numbers of the form $15 k+6$. Finally, in the third pass one begins with the number 11 and ends with 986 (the marked numbers having the form $15 k+11$ ), which is the last number to be marked. Observe that we have marked exactly all the numbers of the form $5 k+1$, which comprise precisely one fifth of all the numbers on the circle. We conclude that $4 / 5 \cdot 1000=800$ numbers remain unmarked. Problem 20. Find the sum of the seven marked interior angles of this 7-pointed star (in degrees)! ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-05.jpg?height=351&width=366&top_left_y=698&top_left_x=845) Result. $540^{\circ}$ Solution. Denote the tips of the star by $A, B, \ldots, G$ as in the picture; further, let $X, Y$ be the intersection of $D E$ with $A B, A G$, respectively. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-05.jpg?height=431&width=460&top_left_y=1201&top_left_x=798) Let $S$ be the sum in question. Since the sum of the internal angles in both quadrilaterals $X B C D$ and $Y E F G$ is $360^{\circ}$, we see that $$ S+\angle B X Y+\angle X Y G-\angle X A Y=2 \cdot 360^{\circ} $$ However, $\angle B X Y=180^{\circ}-\angle A X Y$ and $\angle X Y G=180^{\circ}-\angle X Y A$, so $$ \angle B X Y+\angle X Y G-\angle X A Y=360^{\circ}-(\angle A X Y+\angle X Y A+\angle X A Y)=180^{\circ} $$ It follows that $S=540^{\circ}$. Problem 21. Pupils were given the following exercise: They should compute the arithmetic mean of the numbers 1, $3,6,7,8$, and 10. However, Lucy chose a wrong approach: First she picked two of the numbers and computed their arithmetic mean. Then she computed the arithmetic mean of the result and some other number and repeated this step until she had used all the numbers. What is the largest absolute value of the error (i.e. the difference with the correct result) Lucy could have achieved? Result. $17 / 6$ Solution. One can easily see that Lucy's procedure is in fact the following: She picks some ordering of the given numbers, say $\left(a_{1}, a_{2}, a_{3}, a_{4}, a_{5}, a_{6}\right)$, and computes $$ S=\frac{a_{1}}{2^{5}}+\frac{a_{2}}{2^{5}}+\frac{a_{3}}{2^{4}}+\frac{a_{4}}{2^{3}}+\frac{a_{5}}{2^{2}}+\frac{a_{6}}{2^{1}} $$ Among all these orderings, the highest value of $S$ is achieved for the ascending ordering, since the largest number is divided by the smallest, the second largest by the second smallest etc. Similarly, the smallest value of $S$ is achieved for the descending ordering. Obviously, the largest error will occur for one of these extremal orderings. The arithmetic mean of the given numbers is $35 / 6$. If the ordering is chosen ascending, we get $S=67 / 8$, yielding the error $61 / 24$. If the ordering is descending, we obtain $S=3$ with the error $17 / 6$, which is the greater of the two and thus the sought result. Problem 22. Along one side of a straight road there are five street lights $L_{1}, L_{2}, L_{3}, L_{4}$, and $L_{5}$ lined up equally spaced $12 \mathrm{~m}$ apart. On the other side of the road there is an ice cream shop. If Julien is standing at the entrance $E$ of the shop, the angle subtended at this point by $L_{1}$ and $L_{2}$ is $\alpha=27^{\circ}$. If he is standing at $L_{5}$, the angle at that point subtended by $L_{1}$ and $E$ is $27^{\circ}$, too. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-06.jpg?height=312&width=669&top_left_y=318&top_left_x=702) What is the distance from $L_{1}$ to $E$ ? Result. $24 \mathrm{~m}$ Solution. The triangles $E L_{1} L_{2}$ and $E L_{1} L_{5}$ are similar, since $\alpha$ and $\angle L_{5} L_{1} E$ occur as interior angles in both of them. Therefore, we get $$ \frac{E L_{1}}{L_{2} L_{1}}=\frac{L_{5} L_{1}}{E L_{1}} \quad \text { or } \quad E L_{1}^{2}=L_{2} L_{1} \cdot L_{5} L_{1}=12 \cdot 48=576 $$ yielding the desired distance $E L_{1}=24 \mathrm{~m}$. Problem 23. Clara chose two distinct integers from 1 to 17 , inclusive, and multiplied them. Surprisingly, the product turned out to be equal to the sum of the remaining fifteen numbers. Find Clara's two numbers. Result. 10 and 13 Solution. Denote by $a$ and $b$ the numbers fulfilling the given condition. As the sum of the first 17 numbers is 153 , we have to solve the equation $153-(a+b)=a b$. Rearranging and adding 1 on both sides of the equation leads to $154=a b+a+b+1=(a+1)(b+1)$. Since $154=2 \cdot 7 \cdot 11$ and $2 \leq(a+1),(b+1) \leq 18$, the only possible factorization is $154=11 \cdot 14$. Therefore, the sought-after numbers are 10 and 13 . Problem 24. How many 6-tuples $(a, b, c, d, e, f)$ of positive integers satisfy $a>b>c>d>e>f$ and $a+f=$ $b+e=c+d=30$ simultaneously? Result. $\quad\binom{14}{3}=364$ Solution. Let us express the 6-tuple as $$ (a, b, c, d, e, f)=(15+x, 15+y, 15+z, 15-z, 15-y, 15-x) $$ where $0 \leq x, y, z<15$. The condition $a>b>c>d>e>f$ is equivalent to $x>y>z>0$, so the 6 -tuple is uniquely determined by a choice of three positive integers less than 15. It follows that there are $\binom{14}{3}=364$ such 6-tuples. Problem 25. A timed bomb is equipped with a display showing the time before the explosion in minutes and seconds. It starts counting down with the value 50:00 on the display. A light bulb blinks whenever the displayed number of remaining minutes is equal to the displayed number of remaining seconds (e.g. 15:15) or when the four digits on the display read the same when reversed (e.g. 15:51). We can disable the bomb when the light blinks for the 70th time. What will be the time on the display then? Result. 03:03 Solution. The number of minutes is equal to the number of seconds once in each minute, so in 50 minutes this happens 50 times. The event when the number on the display reads the same occurs once in each minute with the units digit not exceeding 5 , so this happens 30 times. There are five cases when both these events happen at once: 00:00, 11:11, ..,44:44. Therefore the light bulb blinks $50+30-5=75$ times (including at $00: 00$ ) before the bomb explodes; we can disable the bomb when there are only five blinks remaining (00:00, 01:01, 01:10, 02:02, 02:20), i.e. when there is 03:03 shown on the display. Problem 26. Five circles are tangent to each other as indicated in the figure. Find the radius of the smallest circle, if the radius of the big circle is 2 and the two other circles with marked centers are of radius 1 . ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-06.jpg?height=357&width=354&top_left_y=2306&top_left_x=857) Result. $\quad \frac{1}{3}$ Solution. Denote by $M_{1}, M_{2}$, and $M_{3}$ the centers of the circles as in the figure and by $r_{3}$ the radius of the second smallest circle. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-07.jpg?height=697&width=713&top_left_y=260&top_left_x=680) Due to the symmetry of the whole figure, $M_{1} M_{2} \perp M_{1} M_{3}$ and the Pythagorean theorem helps to find $r_{3}=\frac{2}{3}$ from the equation $$ M_{1} M_{2}^{2}+M_{1} M_{3}^{2}=M_{2} M_{3}^{2} \quad \text { or } \quad 1+\left(2-r_{3}\right)^{2}=\left(1+r_{3}\right)^{2} $$ Let $P$ be a point that completes the centers $M_{1}, M_{2}$, and $M_{3}$ to a rectangle. Let $A, B$, and $C$ be the intersection points of rays $M_{1} P, M_{2} P$, and $M_{3} P$ with the respective circles. Since $M_{2} M_{1} M_{3} P$ is a rectangle, we get $P B=\frac{4}{3}-1=\frac{1}{3}$, $P C=1-\frac{2}{3}=\frac{1}{3}$ and $P A=2-M_{2} M_{3}=2-\left(1+r_{3}\right)=\frac{1}{3}$. Therefore, $P$ has distance $\frac{1}{3}$ to all three points $A, B$, and $C$. Due to this fact, these points lie on the circle with center $P$ and radius $\frac{1}{3}$. Since $M_{1} P, M_{2} P$, and $M_{3} P$ are straight lines, the points $A, B$, and $C$ are the tangent points of the corresponding circles and the circle with center $P$ and radius $\frac{1}{3}$ is the small circle in the picture of the posed problem. Problem 27. In a casino, some people sat around a large table playing roulette. When Erich left that table carrying his assets of 16000 euros away, the average balance of all players decreased by 1000 euros. It diminished again by 1000 euros, when the two gamblers Bettina and Elfi got into business at that table joining in with 2000 euros each. How many players sat around the table while Erich was still gambling? Result. 9 Solution. By $n$ denote the number of people at the beginning, when Erich still was playing, and by $x$ denote the average balance of one gambler at that table. From the given statements we obtain the following two equations: $$ \frac{n x-16000}{n-1}=x-1000 \quad \text { and } \quad \frac{n x-16000+2 \cdot 2000}{n+1}=x-2 \cdot 1000 $$ Working out these equations yields $$ x=17000-1000 n \quad \text { and } \quad 2000 n-10000=x $$ and now we easily obtain $n=9$. So, while Erich was gambling, there were nine people sitting at the table. Problem 28. In a cube $7 \times 7 \times 7$, each two neighboring unit cubes are separated by a partition. We want to remove some of the partitions so that each unit cube will become connected with at least one of the outer unit cubes. What is the minimum number of partitions to be removed? Result. 125 Solution. At the beginning, there are $7^{3}$ unit cubes. By removing one partition we connect two unit cubes and the number of isolated spaces within the cube decreases by one. At the end, we want to have at most $7^{3}-5^{3}$ isolated spaces (that is the number of outer unit cubes). It follows that we need to remove at least $5^{3}=125$ partitions. It is easy to see that 125 is enough. Problem 29. It is known that $20 * * * 16$ is a 7 -digit square of an integer. What are the three missing digits? Result. 909 Solution. Let $a^{2}$ be a perfect square ending with ...16. This means that $a^{2}-16=(a-4)(a+4)$ is divisible by 100 , so $a=2 b$ and $(b-2)(b+2)$ is divisible by 25 . Thus, $b=25 n \pm 2$ and consequently $a=50 n \pm 4$. As $1404^{2}<(1.414 \cdot 1000)^{2}<(1000 \sqrt{2})^{2}=2000000$ and $1454^{2}>1450^{2}=2102500>2100000$, the only possibility is $a=1446$, yielding $a^{2}=2090916$. Problem 30. Triangle $A B C$ with $A B=A C=5 \mathrm{~m}$ and $B C=6 \mathrm{~m}$ is partially filled with water. When the triangle lies on the side $B C$, the surface of the water is $3 \mathrm{~m}$ above the side. What is the height in meters of the area filled with water when the triangle lies on the side $A B$ ? ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-08.jpg?height=326&width=732&top_left_y=296&top_left_x=660) Result. $18 / 5$ Solution. Let $D$ be the midpoint of $B C$; then $\triangle A B D$ is a right-angled triangle, so from the Pythagorean theorem, $A D=4$. The part of the triangle not filled with water is therefore a triangle similar to $\triangle A B C$ with ratio of similitude $1 / 4$. Since the ratio of the areas (of the non-filled part and the whole triangle) stays the same after rotating the triangle, an analogous similarity has to occur in the new situation, too. Therefore the surface of the water is always in $3 / 4$ of the height, so it suffices to compute the height from $A B$. Knowing that the area of $\triangle A B C$ is $\frac{1}{2} \cdot A D \cdot B C=12$, we have $h_{A B}=2 \cdot 12 / A B=24 / 5$. We conclude that the area filled with water is of height $3 / 4 \cdot 24 / 5=18 / 5$. Problem 31. There are six boxes numbered 1 to 6 and 17 peaches somehow distributed in them. The only move we are allowed to do is the following: If there are exactly $n$ peaches in the $n$-th box, we eat one of them and add the remaining $n-1$ peaches to the boxes 1 to $n-1$, one to each box. What is the distribution of the peaches provided that we can eat all the peaches? Result. $1,1,3,2,4,6$ Solution. Let us trace backwards the possible moves: The final state $(0,0,0,0,0,0)$, i.e. when all the peaches are eaten, can be reached only from $(1,0,0,0,0,0)$, which in turn could have emerged only from $(0,2,0,0,0,0)$ etc.-this way we construct a unique chain of distributions of peaches $$ \ldots(0,2,0,0,0,0),(1,2,0,0,0,0),(0,1,3,0,0,0),(1,1,3,0,0,0), \ldots $$ ending with $(1,1,3,2,4,6)$, which is the sought-after distribution of seventeen peaches. Problem 32. A simple aerial lift with fixed two-person chairs operates on a mountain. 74 people are planning to travel upwards, whereas 26 passengers are waiting at the upper station. Exactly at noon, the lift starts working and a pair of people gets on the lift on both its stations; the rest of the passengers is then loaded continuously. At 12:16, the leading chair going upwards meets the last occupied chair going downwards, and at 12:22, the leading chair going downwards meets the last occupied chair going upwards. The distance between each two chairs on the rope is the same, the lift maintains constant speed, and all the passengers travel in pairs. How long does it take from the lower station to the upper (in minutes)? Result. 26 Solution. Firstly, the distance between the first and the last up-going chair is thrice the distance of the first and the last down-going chair. Thus, we see that the time between the two moments described in the statement is twice the time from the moment the leading chairs meet till the moment the leading up-going chair meets the last down-going one. We infer that the leading chairs met at 12:13 (exactly in the middle of the lift), hence the time needed to go through the whole lift is 26 minutes. Problem 33. Let $A B C D$ be a rhombus and $M, N$ points on the segments $A B, B C$ different from $A, B, C$ such that $D M N$ is an equilateral triangle and $A D=M D$. Find $\angle A B C$ (in degrees). Result. $100^{\circ}$ Solution. Since $C D=A D=M D=N D$, the triangles $A M D$ and $N C D$ are isosceles with bases $A M, N C$, respectively. Put $\theta=\angle D A B$; then $\angle A B C=\angle A D C=180^{\circ}-\theta$. On the other hand, since $$ \angle D A M=\angle A M D=\angle D N C=\angle N C D=\theta $$ we have $$ \angle A D M=\angle N D C=180^{\circ}-2 \theta $$ and $$ \angle A D C=\angle A D M+\angle M D N+\angle N D C=420^{\circ}-4 \theta $$ We conclude that $$ 420^{\circ}-4 \theta=180^{\circ}-\theta $$ or $\theta=80^{\circ}$, therefore $\angle A B C=100^{\circ}$. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-09.jpg?height=374&width=466&top_left_y=287&top_left_x=795) Problem 34. In how many ways is it possible to color the cells of a $2 \times 7$ table with green and yellow in such a way that neither green nor yellow L-trimino appears in the table? Note: L-trimino is the following (possibly rotated) shape: ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-09.jpg?height=129&width=120&top_left_y=889&top_left_x=974) Result. 130 Solution. If any column of the table is monochromatic, then the neighboring column(s) must have the other color, so the next column(s) must have the same color as the first one etc., so there are two possibilities to color the table this way, according to which color is used in the first column. On the other hand, the previous paragraph implies that if there is a column colored with both colors, all the other columns have to use both colors as well. It is easy to see that no matter how we distribute the colors between the upper and lower cells in this case, the resulting coloring will always satisfy the condition from the statement, so there are $2^{7}=128$ such colorings. In total there are $2+128=130$ colorings of the table. Problem 35. Michael is a keen diamond collector, but so far he owns less than 200 diamonds. He divided all his diamonds into several (at least two) piles in such a way that - each two piles consist of different number of diamonds, - none of these piles consists of exactly two diamonds, - for each of these piles it holds that whenever it is divided into two smaller piles, at least one of these new piles has the same size as some previously existing one. What is the greatest number of diamonds Michael can possess? Note: A pile consists of a non-zero number of diamonds. Result. 196 Solution. Assume that we have a division in accordance with the problem statement. Let $m$ be the number of diamonds in the smallest pile. If $m \geq 2$, then the smallest pile can be divided into two piles of sizes 1 and $m-1$ respectively, neither of which has the same size as some other pile; hence $m=1$. Next, we show that the second smallest pile consists of 3 diamonds. Since 2 is excluded, we have to rule out the case when it consists of $n \geq 4$ diamonds. However, this is clearly not possible because of the division $n=2+(n-2)$. Finally, we prove that if the piles $1,3, \ldots, 2 k-1(k>1)$ are the $k$ smallest piles in the division, then the $(k+1)$-th smallest pile (if it exists) consists of $2 k+1$ diamonds. Let $p$ be the size of the $(k+1)$-th smallest pile. Clearly, $p$ is odd, for a pile of even size could be divided into two smaller ones of even size. If $p \geq 2 k+3$, the division $p=2+(p-2)$ yields a contradiction. We conclude that the only possibility is $p=2 k+1$, which is readily seen to satisfy the conditions from the statement. It follows by induction that the number of Michael's diamonds is of the form $1+3+\cdots+(2 k-1)=k^{2}$. The largest square number less than 200 is $14^{2}=196$, which is the largest possible number of diamonds in Michael's possession. Problem 36. Recall that in the game of rock-paper-scissors we have three shapes: $R$ - rock, $P$ - paper and $S$ scissors such that $S>P, P>R, R>S$ and $R=R, P=P, S=S$, where $A>B$ means ' $A$ beats $B^{\prime}$ and $A=B$ means 'when $A$ is played against $B$, the game ends in a tie'. A tournament in Two Handed Rock-Paper-Scissors Without Repetition between players $P_{1}$ and $P_{2}$ consists of 9 games. In every game each player chooses a pair $\left(\ell_{i}, r_{i}\right)$ where $\ell_{i}$ and $r_{i}$ stand for shapes played by the left and right hand, respectively, of the player $P_{i}$. During the whole tournament each player must choose every possible pair exactly once. In a single game we distribute 4 points in the following way: the winner on each pair of playing hands (left/right) receives 2 points and the loser receives 0 points or both player receive 1 point if there is a tie in a pair of hands. Suppose that players are choosing their moves at random. What is the probability that each of the 9 games in the tournament ends in a tie (i.e. with score $2: 2$ )? Result. $\quad 3!^{3} / 9!=1 / 1680$ Solution. Let us define three sets of three pairs each: $$ D_{R}=\{(R, R),(P, S),(S, P)\}, \quad D_{P}=\{(P, P),(S, R),(R, S)\}, \quad D_{S}=\{(S, S),(R, P),(P, R)\} $$ Note that a single game in the tournament ends in a tie if and only if two pairs from the same set out of $D_{R}, D_{P}, D_{S}$ are played against each other. Possible outcomes of the whole tournament are all pairs of permutations of the set $D_{R} \cup D_{P} \cup D_{S}$. All the games end in a tie if and only if elements of each set $D_{R}, D_{P}, D_{S}$ occupy the same three positions in $P_{1}$ 's and $P_{2}$ 's permutation. Consider any permutation and let it denote the order of moves of the player $P_{1}$ in subsequent games. Number of arrangements of $P_{2}$ 's moves yielding a draw in each game equals $3!^{3}$, no matter what the $P_{1}$ 's permutation was. Therefore the desired probability is $$ \frac{3!^{3}}{9!}=\frac{1}{1680} $$ Problem 37. The net of a solid consists of eight regular triangles and six squares, as shown in the picture: ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-10.jpg?height=240&width=460&top_left_y=1162&top_left_x=798) Assuming that the length of each edge is $1 \mathrm{~km}$, what is the volume of the solid (in $\mathrm{km}^{3}$ )? Result. $\quad \frac{5}{3} \sqrt{2}$ Solution. The described solid can be obtained from a cube in the following way: Each corner of the cube is cut off, the cut going through the centers of the edges adjacent to the removed vertex. The edge length of the cube is $\sqrt{2}$, so its volume is $2 \sqrt{2}$. The removed corners are eight (oblique) pyramids, the base of each being an isosceles right-angled triangle with the leg of length $\sqrt{2} / 2$, and the height being $\sqrt{2} / 2$, too. Therefore the volume of one corner is $\frac{1}{3} \cdot \frac{1}{2} \cdot(\sqrt{2} / 2)^{2} \cdot(\sqrt{2} / 2)=\sqrt{2} / 24$ and the volume of the given solid is $2 \sqrt{2}-8 \cdot \sqrt{2} / 24=5 \sqrt{2} / 3$. Problem 38. Find the only three-digit prime factor of 999999995904. Result. 601 Solution. Observe that $$ 999999995904=10^{12}-2^{12}=2^{12}\left(5^{12}-1\right) $$ and $$ 5^{12}-1=(5-1)(5+1)\left(5^{2}+1\right)\left(5^{2}-5+1\right)\left(5^{2}+5+1\right)\left(5^{4}-5^{2}+1\right) $$ but only the last factor is greater than 100. Since we know that a three-digit prime factor exists and $5^{4}-5^{2}+1=601$ is clearly divisible by neither of $2,3,5$, it is a prime, and hence the sought number. Problem 39. Thirteen bees: one little bee and twelve large bees are living on a 37 -cell honeycomb. Each large bee occupies 3 pairwise adjacent cells and the little bee occupies exactly 1 cell (see the picture). In how many ways can the honeycomb be divided into 13 non-overlapping sectors so that all thirteen bees can be accommodated in accordance with the given restrictions? ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-10.jpg?height=360&width=394&top_left_y=2310&top_left_x=840) Result. 20 Solution. Let us consider 13 cells shaded in the picture below: ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-11.jpg?height=356&width=397&top_left_y=256&top_left_x=835) Each three-cell sector contains exactly one shaded cell, so the cell of the little bee must be one of the shaded. If it is the central cell, then there are exactly two ways to divide the rest of the honeycomb into 12 large bee sectors (the one shown in the picture and the one rotated by 60 degrees). For each of the 6 'middle' shaded cells there is exactly one way to accommodate large bees in the rest of the honeycomb. Finally, for each of the boundary shaded cells there are exactly two ways to divide the remaining cells into three-cells sectors (the one shown and the symmetric one). ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-11.jpg?height=345&width=1083&top_left_y=867&top_left_x=498) This gives a total of $2+6 \cdot 1+6 \cdot 2=20$ ways to dissect the honeycomb into the sectors as requested. Problem 40. Equilateral triangle $A B C$ is inscribed in circle $\omega$. Point $X$ is on the (shorter) arc $B C$ of $\omega$ and $T$ is the intersection of $A B$ and $C X$. If $A X=5$ and $T X=3$, find $B X$. Result. $15 / 8$ Solution. Since $\angle A X B=\angle A C B=60^{\circ}$ and $\angle A X C=\angle A B C=60^{\circ}, \angle B X T=180^{\circ}-\angle A X B-\angle A X C=60^{\circ}$. Let $U$ be a point on $A X$ such that $T U \| B X$. ![](https://cdn.mathpix.com/cropped/2024_06_04_6e10b36d0ede858589f3g-11.jpg?height=508&width=669&top_left_y=1568&top_left_x=702) Then $T U X$ is an equilateral triangle and $\triangle T U A \sim \triangle B X A$. Therefore we have $$ B X=\frac{T U}{A U} \cdot A X=\frac{T X \cdot A X}{T X+A X}=\frac{15}{8} $$ Problem 41. Let $A B C$ be an equilateral triangle. An interior point $P$ of $A B C$ is said to be shining if we can find exactly 27 rays emanating from $P$ intersecting the sides of the triangle $A B C$ such that the triangle is divided by these rays into 27 smaller triangles of equal area. Determine the number of shining points in $A B C$. Result. $\binom{26}{2}=325$ Solution. We see that $P A, P B, P C$ are among the 27 rays from $P$ : If not, we would obtain a quadrilateral, leading to a contradiction. Let us divide the perimeter of $\triangle A B C$ into 27 segments such that each side is divided into segments of equal length; there are altogether $\binom{26}{2}=325$ such divisions, since if we fix $A$ to be the first dividing point, we can freely choose $B$ and $C$ from the remaining 26 points. Finally, observe that each such division corresponds to exactly one shining point and vice versa: Clearly, (the rays from) each shining point gives rise to a division. On the other hand, given the numbers $a, b, c$ of the segments the respective sides are divided into, we let $P$ be the unique point inside $\triangle A B C$ such that the distances of $P$ to the sides $B C, C A, A B$ are in the ratio $a: b: c$. A straightforward computation shows that $P$ is indeed the shining point, the rays from which divide $\triangle A B C$ in accordance with the given division. Problem 42. How many positive divisors of $2016^{2}$ less than 2016 are not divisors of 2016 ? Result. 47 Solution. From the prime factorization $2016=2^{5} \cdot 3^{2} \cdot 7$ we obtain $2016^{2}=2^{10} \cdot 3^{4} \cdot 7^{2}$. Therefore, $2016^{2}$ has $11 \cdot 5 \cdot 3=165$ positive divisors of which $\frac{1}{2} \cdot(165-1)=82$ are less than 2016 -excluding 2016 , the divisors may be divided into pairs $(x, y)$ such that $x \cdot y=2016^{2}$ and $x<2016