File size: 49,202 Bytes
802d9fe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 | Problem 1J. Given that there is exactly one way to write 2013 as a sum of two primes find the product of these primes.
Result. 4022
Solution outline. As the sum is odd, one of the primes must be even and therefore equal to 2. Thus $2013=2+2011$ is the only candidate which happens to work as 2011 is indeed a prime. The result then is $2 \cdot 2011=4022$.
Problem 2J. Two circles with radius 1 intersect each other. The area of their intersection equals the sum of the areas of the two outer parts. What is the area of the intersection?

Result. $\frac{2}{3} \pi$
Solution outline. Denote the areas of the three parts as in the figure.

Combining the obvious $A=C$ (symmetry) with the given $B=A+C$ yields $B=2 A$. Thus the area of the intersection is equal to two thirds of the area of the left circle, that is $\frac{2}{3} \pi$.
Problem 3J. We have several pins five of which are yellow, four red, three green, two blue, and the remaining one is orange. In how many ways can we place them in the given triangular grid (see diagram) so that no pair of pins with the same color is in the same row or column? The pins of the same color are considered indistinguishable.
$\bullet \bullet$

$\bullet \bullet \bullet \bullet$

Result. 1
Solution outline. First we place the yellow pins and our only option is to place them on the hypotenuse of the triangle. By the same argument we now have an only option to place the four red pins (again on the hypotenuse of the triangle formed by empty spots). Continuing with this argument we see that there is a unique arrangement which satisfies the given conditions.
Problem 4J. Find the smallest positive integer whose product of digits equals 600 .
Result. 3558
Solution outline. Since $600=2^{3} \cdot 3 \cdot 5^{2}$, we may only use the digits $1,2,3,4,5,6,8$. Using the digit 1 only increases the number, so we will do better without it. Also, we must use two fives as it is the only way to get $5^{2}$. The product of the remaining digits then must be 24 , thus one digit is not enough and from the pairs $3 \cdot 8$ and $4 \cdot 6$, the former contains the smallest digit and leads to the solution, which is 3558 .
Problem 5J. Positive real numbers $a$ and $b$ satisfy
$$
a+\frac{1}{b}=7 \quad \text { and } \quad b+\frac{1}{a}=5
$$
What is the value of $a b+\frac{1}{a b}$ ?
Result. 33
Solution outline. We multiply the two equations and obtain
$$
\begin{aligned}
a b+\frac{a}{a}+\frac{b}{b}+\frac{1}{a b} & =35 \\
a b+\frac{1}{a b} & =33
\end{aligned}
$$
Problem 6J. Luke has a six-digit number which satisfies the following conditions:
1. The number reads the same from left to right as from right to left.
2. It is divisible by 9 .
3. After crossing out its first and last digit the only prime factor of the resulting number is 11 .
What is Luke's number?
Result. 513315
Solution outline. We start by analyzing the last condition. The only four-digit power of 11 is 1331, therefore the sought number is of the form $\overline{a 1331 a}$ for some digit $a$. Since it is divisible by 9 , so must be also its sum of digits $2 a+8$. Since $2 a+8$ is even and less than or equal to 26 , the only choice is $2 a+8=18$, i.e. $a=5$ and the answer is 513315 .
Problem 7J. Point $D$ lies on the diameter $A B$ of the semicircle $k$. A perpendicular to $A B$ through point $D$ intersects $k$ at point $C$. The lengths of the arcs $A C$ and $C B$ of $k$ are in the ratio $1: 2$. Find $A D: D B$.
## Result. $1: 3$
Solution outline. Since $C$ trisects the arc $A B$, we can draw point $E \in k$ such that $A, C, E$, and $B$ (in this order) are consecutive vertices of a regular hexagon.

Now if $S$ is the center of $k$, triangle $A S C$ is equilateral with $D$ the midpoint of $S A$ (altitudes coincide with medians in equilateral triangles). Then we easily obtain $A D: D B=1: 3$.
Problem 8J. Two spoilt brothers Jim and Tim got a bag of chocolate chips and split them evenly. Both of them eat from two to three chocolate chips a day. Jim finished his chips after fourteen days, Tim after exactly three weeks. How many chocolate chips were there in the bag?
Result. 84
Solution outline. Note that Jim ate at most $3 \cdot 14=42$ chips while Tim ate at least $2 \cdot 21=42$. Since they both started with the same amount of chocolate chips, it must have been 42 , and the answer is $42+42=84$.
Problem 9J. In how many ways can we read the word Náboj in the diagram?

Result. 16
Solution outline. From each of the letters $N, a ́, b, o$ we can continue reading in exactly two ways. Therefore, we can read the word Náboj in $2^{4}=16$ ways.
Problem 10J. Inhabitants of an island are either liars or truth-tellers. Twelve of them sit around a table. They all claim to be truth-tellers and also claim that the person to their right is a liar. What is the maximum possible number of liars in such a group?
Result. 6
Solution outline. If two truth-tellers sat next to one another, the one on the left would not call his right neighbour a liar. For the same reason two liars cannot sit side by side. It remains to check that an arrangement in which truth-tellers and liars alternate satisfies the condition, making the number 6 our answer.
Problem 11J / 1S. Jane has 11 congruent square tiles six of which are red, three blue, and two green. In how many ways can she construct a $3 \times 3$ square from 9 of the 11 tiles such that the coloring of the square remains intact if we rotate the square by $90^{\circ}$ clockwise around its center? Two tiles of the same color are considered indistinguishable.
Result. 0
Solution outline. For a coloring to be invariant under the $90^{\circ}$ rotation, its four corner tiles must have the same color and the same holds for the remaining four non-central tiles. Thus we either need eight tiles of one color or two quadruplets of tiles with the same color. Since we have neither of that available, the answer is 0 .
Problem 12J / 2S. Two fifths of males and three fifths of females living on a certain island are married. What percentage of the island's inhabitants is married?
Result. $48 \%=\frac{12}{25}$
Solution outline. Denote by $D$ the total number of married couples on the island. Then the total numbers of males and females are $\frac{5}{2} D, \frac{5}{3} D$, respectively. Thus, we have $\frac{5}{2} D+\frac{5}{3} D=\frac{25}{6} D$ inhabitants from which $2 D$ are married. The fraction of married islanders is then
$$
\frac{2 D}{\frac{25}{6} D}=\frac{12}{25}=48 \%
$$
Problem 13J / 3S. What is the maximum side length of an equilateral triangle which can be cut from a rectangular-shaped paper with dimensions $21 \times 29.7 \mathrm{~cm}$ ?
Result. $14 \sqrt{3}=\frac{42}{\sqrt{3}} \mathrm{~cm}$
Solution outline. Any equilateral triangle lying between a pair of parallel lines can be suitably enlarged so that two of its vertices lie on opposite borderlines. From all such equilateral triangles the longest side length is obtained from one with the whole edge on one of the borderlines.
Then if the width of the strip is $21 \mathrm{~cm}$, the largest fitting equilateral triangle has altitude $21 \mathrm{~cm}$. The side-length is then $\frac{21 \mathrm{~cm}}{\sin 60^{\circ}}=14 \sqrt{3} \mathrm{~cm}$. Since $14 \sqrt{3}<14 \cdot 2<29.7$, this triangle fits inside the rectangle.
Problem 14J / 4S. Kate took a square piece of paper and repeatedly folded it in half until it was done four times. After every fold, she was left with an isosceles right triangle. How many squares can one see after unfolding the paper?
Result. 10
Solution outline. The fold-lines are captured in the following figure.

Altogether, we see 10 squares: the whole paper, the square connecting the midpoints of the edges and in each of these two, we see four smaller squares.
Problem 15J / 5S. How many pentagons are there in the figure?

Result. $3^{5}=243$
Solution outline. Observe that each pentagon must have the center of the figure in its interior. We have three choices for each of the five sides (outer, middle or inner line), thus there are $3^{5}=243$ pentagons.
Problem 16J / 6S. Joseph wanted to add two positive integers but accidentally wrote a zero digit to the end of one of them. The result he obtained was 3858 instead of the correct 2013. Find the value of the larger summand.
Result. 1808
Solution outline. Denote the numbers by $a, b$. Since adding a zero digit is the same as multiplying by ten, we only have to solve the following system of equations:
$$
\begin{array}{r}
a+b=2013 \\
10 a+b=3858
\end{array}
$$
Subtracting them we learn $a=205$. Plugging it in the first one we get $b=1808$, which is the answer.
Problem 17J / 7S. What is the radius of the smallest circle which can cover a triangle with side lengths 3,5 , and 7 ?
Result. 3.5
Solution outline. Since $3^{2}+5^{2}<7^{2}$, the angle opposite the 7 -side is obtuse. Thus the triangle can be covered with a circle of radius 3.5. On the other hand, no smaller circle can cover the longest side, so 3.5 is our final answer.
Problem 18J / 8S. Lisa, Mary, Nancy and Susan have 100 lollipops altogether. Each pair of them has at least 41 lollipops. What is the minimum number of lollipops that Lisa can have?
Result. 12
Solution outline. If we denote the numbers of each girl's lollipops by $L, M, N$, and $S$, respectively, we know that $L+M \geq 41, L+N \geq 41$, and $L+S \geq 41$. Summing these inequalities we get $2 L+(L+M+$ $N+S) \geq 123$. Since $L+M+N+S=100$, we learn $2 L \geq 23$, or $L \geq 12$ ( $L$ is a positive integer).
On the other hand, the distribution $L=12, M=N=29, S=30$ satisfies the conditions of the problem.
Problem 19J / 9S. The area of a rectangle $A B C D$ is 80 and the length of its diagonal is 16. Find the sine of the angle between its diagonals.
Result. $\frac{5}{8}=0.625$
Solution outline. Denote by $S$ the intersection of the diagonals and by $h$ the length of the $B$-altitude in $\triangle A B C$. The area of $A B C D$ can be found as $A C \cdot h$ which gives $h=80 / 16=5$. The sought-after value is then $\sin \angle A S B=\sin \angle C S B=\frac{h}{B S}=\frac{5}{8}$.
Problem 20J / 10S. What is the largest possible value of $a^{b}+c^{d}$, where $a, b, c$, and $d$ are distinct elements of the set $\{-7,-5,-4,-3,-2,-1\}$ ?
Result. $(-1)^{-4}+(-3)^{-2}=\frac{10}{9}$
Solution outline. In order to obtain a positive number, we need to take even exponents. Also, since $(-2)^{-4}=(-4)^{-2}<(-1)^{-2}$, we will take the exponents -2 and -4 . Further, as a negative power is decreasing, we will take -1 and -3 as bases. Out of the remaining two options, $(-1)^{-4}+(-3)^{-2}=\frac{10}{9}$ has greater value.
Problem 21J / 11S. An angle of magnitude $110^{\circ}$ is placed in the coordinate plane at random. What is the probability that its legs form a graph of some function?
Result. $\frac{11}{18}$
Solution outline. For an angle to form a graph of a function, it must not contain two points with the same $x$-coordinate. We may assume that the vertex of the angle is at point $(0,0)$. We will rotate the angle by one full circle (clockwise) and determine when it is a graph of a function. We choose to start in a position in which one leg coincides with the positive ray of the $y$ axis and the other lies to the right. Observing the breaking point after $70^{\circ}$ rotation, we see that the answer is $\frac{110}{180}=\frac{11}{18}$.
Problem 22J / 12S. James drew a regular 100-gon $A_{1} A_{2} \ldots A_{100}$ (numbered clockwise) on the last year's Náboj (23rd March, 2012) and randomly placed a chip on one of the vertices. Every following day, he moved the chip clockwise by the number of vertices indicated by the number of the current vertex (from $A_{3}$ he would move it to $A_{6}$, from $A_{96}$ to $A_{92}$ ). Now the chip lies on $A_{100}$. What was the probability this would happen?
Result. $0.04=\frac{1}{25}$
Solution outline. We are in fact asking about numbers from 1 to 100 which, when repeatedly multiplied by 2 , become a multiple of 100 . Such number must be a multiple of 25 and all four of these $(25,50,75$, 100) work. The answer is $\frac{4}{100}=0.04=\frac{1}{25}$.
Problem 23J / 13S. A positive integer is called differential if it can be written as a difference of squares of two integers. How many of the numbers $1,2, \ldots, 2013$ are differential?
Result. 1510
Solution outline. Odd numbers can be written as $2 k+1=(k+1)^{2}-k^{2}$ and multiples of four as $4 k=(k+1)^{2}-(k-1)^{2}$. Numbers of the form $4 k+2$ are not differential since $a^{2}-b^{2}=(a+b)(a-b)$ is a product of two positive integers of the same parity, therefore either odd or multiple of 4 . There are 503 numbers of the form $4 k+2$ from 1 to 2013 , hence the answer is 1510 .
Problem 24J / 14S. Three non-overlapping regular convex polygons with side length 1 have point $A$ in common and their union forms a (nonconvex) polygon $M$ which has $A$ in its interior. If one of the regular polygons is a square and another is a hexagon, find the perimeter of $M$.
Result. 16
Solution outline. We look at the internal angles of the polygons by vertex $A$. One of them is $90^{\circ}$, another is $120^{\circ}$, and since the three angles add up to $360^{\circ}$ ( $A$ is in the interior), the remaining angle is $150^{\circ}$, which corresponds to a regular dodecagon (12 vertices). Since each pair of polygons shares a side, the perimeter of $M$ is $4+6+12-(3 \cdot 2)=16$.
Problem 25J / 15S. Mike wrote the numbers from 1 to 100 in random order. What is the probability that for each $i=1, \ldots, 50$ the number on the position $2 i-1$ is smaller than the number on the position $2 i$ ?
Result. $2^{-50}$
Solution outline. Imagine Mike writes the numbers in pairs: First he randomly chooses two available numbers and then their order. The smaller of them going first thus has probability $\frac{1}{2}$ (regardless of the chosen numbers) and thus for 50 pairs the probability is $\left(\frac{1}{2}\right)^{50}=2^{-50}$.
Problem 26J / 16S. Pink paint is made up of red and white paint in the ratio $1: 1$, cyan paint is made up of blue and white in the ratio $1: 2$. Karen intends to paint her room with paint which is made up of pink and cyan in the ratio $2: 1$. She has already mixed three tins of blue and one tin of red paint. How many tins does she have to add to the mixture, provided there are only red and white tins left?
Result. 23
Solution outline. Since we can add only red or white paint, the resulting paint has to contain exactly three tins of blue. Blue is not contained in pink paint, thus the ratio $1: 2$ in cyan implies that there need to be exactly 9 tins of cyan paint (3 blue and 6 white). Finally, from the ratio $2: 1$ in the desired paint we infer that it has to be mixed from 27 tins ( 9 of which are mixed to produce cyan and 18 to pink). As we have already mixed four tins, we have to add $27-4=23$ tins to complete the paint.
Problem 27J / 17S. We have a hat with several white, gray, and black rabbits. When a magician starts taking them randomly out of the hat (without returning them), the probability of him taking a white rabbit before a gray one is $\frac{3}{4}$. The probability of him taking a gray rabbit before a black one is $\frac{3}{4}$ as well. What is the probability of him taking a white rabbit before a black one?
Result. $\frac{9}{10}$
Solution outline. The magician takes a white rabbit before a gray one with the probability of $\frac{3}{4}$, hence the hat contains three times as many white rabbits as the gray ones. In like manner, there are three times as many gray rabbits as the black ones. Therefore the hat is inhabited by nine times as many white rabbits as the black ones and the sought-after probability is $\frac{9}{10}$.
Problem 28J / 18S. Positive integers $a, b$ satisfy $49 a+99 b=2013$. Find the value of $a+b$.
Result. 37
Solution outline. We add $a+b$ to both sides of the equation and get $50(a+2 b)=2013+(a+b)$. The left-hand side of the equation is divisible by 50 , and so must be the right-hand side. It follows that $a+b=50 k-13$ for some $k \in \mathbb{N}$.
If $a+b \geq 87$, then $49 a+99 b>49 a+49 b \geq 49 \cdot 87>2013$, which is not possible. Thus the only possibility is $a+b=37$.
Problem 29J / 19S. In the corners of a square $P Q R S$ with side length $6 \mathrm{~cm}$ four smaller squares are placed with side lengths $2 \mathrm{~cm}$. Let us denote their vertices $W, X, Y, Z$ like in the picture. A square $A B C D$ is constructed in such a way, that points $W, X, Y, Z$ lie inside the sides $A B, B C, C D, D A$ respectively. Find the largest possible distance between points $P$ and $D$.

Result. 6
Solution outline. Point $D$ belongs to the circle with diameter $Z Y$, the center of which we denote by $O$. This circle has radius 1 and by Pythagorean Theorem we have $P O=\sqrt{3^{2}+4^{2}}=5$. Hence from triangle inequality we obtain $P D \leq P O+O D=6$. The equality is attained if $P, O, D$ lie on one line, so the maximum distance is 6 .

Problem 30J / 20S. We have twenty boxes of apples that altogether contain 129 apples. We know that in some of the boxes there are exactly 4 apples and all the remaining boxes contain exactly $x$ apples. Find all possible values of $x$.
Result. 11, 53
Solution outline. Denote by $K$ the number of boxes that contain $x$ apples $(K \leq 20)$. In the remaining $20-K$ boxes we have four apples and hence
$$
K \cdot x+(20-K) \cdot 4=129, \quad \text { which implies } \quad K(x-4)=49
$$
We have $K \leq 20$, hence the only possible choices are $K=1$ and $K=7$. From $K=1$ we easily obtain $x=53$, and $K=7$ corresponds to $x=11$.
Problem 31J / 21S. Consider real numbers $a, b$ such that $a>b>0$ and
$$
\frac{a^{2}+b^{2}}{a b}=2013
$$
Find the value of the expression $\frac{a+b}{a-b}$.
Result. $\sqrt{\frac{2015}{2011}}$
Solution outline. From the given equality we obtain $a^{2}+b^{2}=2013 a b$. Using this identity we have
$$
\begin{aligned}
& (a+b)^{2}=a^{2}+2 a b+b^{2}=2015 a b \\
& (a-b)^{2}=a^{2}-2 a b+b^{2}=2011 a b
\end{aligned}
$$
From $a>b>0$ we know that the expression $\frac{a+b}{a-b}$ is positive and hence using the two relations above yields
$$
\frac{a+b}{a-b}=\sqrt{\frac{(a+b)^{2}}{(a-b)^{2}}}=\sqrt{\frac{2015 a b}{2011 a b}}=\sqrt{\frac{2015}{2011}}
$$
Problem 32J / 22S. In how many ways can we fill in individual squares in the pictured heptomino piece with numbers 1 to 7 (each of which should be used once only) so that the sum of numbers in the bottom row is the same as the sum of numbers in the left column?

Result. $144=3 \cdot 2 \cdot 4!$
Solution outline. Denote values in the individual squares as in the picture.

It follows from the problem statement that $A+B+C+D+E+F+G=1+2+3+4+5+6+7=28$ and $A+B=D+E+F+G=\frac{1}{2}(28-C)$. Therefore $C$ must be even.
If $C=2$, then $A+B=13=6+7$, which gives two alternatives how to fill in the squares in the left column. For each of them we can reorder the numbers in the bottom row in 4 ! ways. If $C=4$, then $A+B=12=5+7(6+6$ is not legitimate since identical numbers are disallowed), and if $C=6$, then $A+B=11=4+7$ ( $5+6$ is also illegitimate since $C=6$ already), which gives in both cases $2 \cdot 4$ ! possibilities of finishing the table. Hence we obtain altogether $3 \cdot 2 \cdot 4!=144$ possibilities.
Problem 33J / 23S. Let $A B C$ be an acute triangle with $A B=4 \pi, B C=4 \pi+3, C A=4 \pi+6$. Denote by $D$ the foot of the $A$-altitude. Find $C D-B D$.
Result. 12
Solution outline. Pythagorean Theorem for right triangles $A D C$ and $A D B$ gives $C D^{2}=A C^{2}-A D^{2}$ and $B D^{2}=A B^{2}-A D^{2}$. After subtracting, we obtain
$$
C D^{2}-B D^{2}=A C^{2}-A B^{2}=(4 \pi+6)^{2}-(4 \pi)^{2}=48 \pi+36
$$
Since $D$ lies on the segment $B C$, we also have
$$
C D^{2}-B D^{2}=(C D-B D) \cdot(C D+B D)=(C D-B D) \cdot(4 \pi+3)
$$
hence $C D-B D=12$.
Problem 34J / 24S. Trams have the same intervals all day and in both directions. A pedestrian walked along the tram rails and observed that every 12 minutes he was overtaken by a tram, and every 4 minutes one tram coming in the opposite direction passed him. What is the time interval between two trams?
Result. 6 minutes
Solution outline. We denote the speed of the tram by $t$, the speed of the pedestrian by $c$ and the distance between two trams by $d$. From the given information we deduce that
$$
\begin{aligned}
t-c & =\frac{d}{12 \min } \\
t+c & =\frac{d}{4 \min }
\end{aligned}
$$
By summing up the equations and dividing by 2 we obtain
$$
v=\frac{1}{2}\left(\frac{1}{12 \min }+\frac{1}{4 \min }\right) \cdot d=\frac{d}{6 \min }
$$
It follows that the tram travels the distance $d$ in 6 minutes, which implies that the interval between two trams is 6 minutes.
Problem 35J / 25S. How many nondegenerate triangles can be formed by means of joining some point triplet from the picture?

Note: Points are aligned in the indicated grid.
Result. $148=\binom{11}{3}-17$
Solution outline. We can pick a point triplet out of the given eleven ones in
$$
\binom{11}{3}=\frac{11 \cdot 10 \cdot 9}{1 \cdot 2 \cdot 3}=165
$$
ways. It remains to compute the number of point triplets lying on a line and to subtract the resulting number from the one above. There are $4+1+4=9$ horizontal triplets, $3+3+1+1=8$ transversal triplets, hence the number of triangles is $165-17=148$.

Problem 36J / 26S. Thomas got a box of chocolates with 30 sweets arranged in three rows by ten. He is eating the sweets one by one in such a way that the number of sweets in two rows always differs at most by one. In how many ways can he eat the whole box?
Result. $6^{10} \cdot(10!)^{3}$
Solution outline. The way of eating the sweets can be uniquely determined in the following way: For each row we choose the order of its sweets in which Thomas will eat them and also choose the order of the rows in which he will switch between them.
For each row, we have 10! possibilities to choose the order of sweets, which gives us $(10!)^{3}$ possibilities for three rows.
Now we need to count the number of the order of rows. We know that if there is the same number of sweets in all rows, then Thomas can choose any of them, then he needs to choose one of the remaining two (choosing the same row would result in having two sweets less in this row) and then he has to choose the remaining one. After three steps he has again the same number of sweets in all three rows. It follows that it is enough to choose ten times the order of the three rows, which can be done in $(3!)^{10}=6^{10}$ different ways.
Thomas can eat the box of chocolates in $6^{10} \cdot(10!)^{3}$ different ways.
Problem 37J / 27S. We call a positive integer with six digits doubling if the first three digits are the same (including the order) as the other three digits. For example the number 227227 is doubling, but 135153 is not doubling. How many six-digit doubling numbers are divisible by 2013 ?
Note: The first digit of a positive integer cannot be 0 .
Result. 5
Solution outline. Any doubling number with six digits can be written as $1001 \cdot k$ for some positive integer $k$. Conversely, for any three digit positive integer $k$ the formula $1001 \cdot k$ gives us a six-digit doubling number.
As $2013=3 \cdot 11 \cdot 61$ and 1001 is divisible by 11 , but not by 3 or 61 , it follows that the six digit integer is doubling if and only if the corresponding three digit $k$ in $1001 \cdot k$ is a multiple of $3 \cdot 61=183$. We have exactly five three digit $k$ divisible by 183 and hence we have five six-digit doubling numbers that are divisible by 2013 .
Problem 38J / 28S. Suppose that we have $4 \times 4$ chessboard and on each square we draw an arrow aiming right or aiming down at random. We put a robot on the upper left corner and let it move along the chessboard in the directions of the arrows. What is the probability that it will exit the chessboard from the square in the lower right corner?
Result. $\frac{5}{16}=\frac{\binom{6}{3}}{2^{6}}$
Solution outline. Let us count the number of paths from the upper left to the lower right corner and the probability that the robot will go along one such path. Each path consists of three steps down and three steps right which gives us $\binom{6}{3}$ possible paths. The probability that the robot will follow this path is always $2^{-6}$ as in each of the steps he must choose the correct direction. The overall probability is thus $2^{-6} \cdot\binom{6}{3}$
Problem 39J / 29S. Write
$$
\frac{212121210}{112121211}
$$
in the basic form (i.e. as the fraction $\frac{a}{b}$, where $a$ and $b$ are positive integers with no common divisor).
Result. $\frac{70}{37}$
Solution outline. It is easy to see (as the sum of the digits is divisible by three) that both numerator and denominator are divisible by three. By division we get $212121210=3 \cdot 70707070$ and $112121211=$ $3 \cdot 37373737$. Now observe that $70707070=70 \cdot 1010101$ and $37373737=37 \cdot 1010101$, which implies that the basic form of our fraction is $\frac{70}{37}$.
Problem 40J / 30S. Let $A B C D$ be a rectangle with side lengths $A B=30$ and $B C=20$. For how many points $X$ on its side $A B$ is the perimeter of the triangle $C D X$ an integer?
Result. 13
Solution outline. It is sufficient to find when is $D X+X C$ an integer. Let us consider $C^{\prime}, D^{\prime}$ such that $A$, $B$ are midpoints of $D D^{\prime}, C C^{\prime}$ respectively. Then $D X+X C=D X+X C^{\prime}$. The right-hand side attains its minimum when $X$ is the midpoint of $A B$ and maximum when $X$ is equal to $A$ or $B$.

Using Pythagorean Theorem we compute $D C^{\prime}=\sqrt{30^{2}+40^{2}}=50$ and $A C^{\prime}=\sqrt{30^{2}+20^{2}}=\sqrt{1300}$, from which we have $36<A C^{\prime}<37$. So, if $X$ moves from $A$ to $B$, then $D X+X C$ first decreases from a number a little larger than $20+36=56(X=A)$ to 50 ( $X$ is the midpoint of $A B$ ) and then increases to a number a little larger than $56(X=B)$. Hence, it is integer for $6+1+6=13$ positions of the point $X$.
Problem 41J / 31S. In what order should we place the rows $r_{1}, \ldots, r_{11}$ of the table in the picture, if we want the newly created table to be symmetric with respect to the marked diagonal? It is sufficient to find one solution.
| $r_{1}$ | | | | | | | | | | | | |
| ---: | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| $r_{2}$ | | | | | | | | | | | | |
| $r_{3}$ | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | |
| $r_{4}$ | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | |
| $r_{5}$ | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | |
| $r_{6}$ | | | | | | | | | | | | |
| $r_{7}$ | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | |
| $r_{8}$ | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | |
| $r_{9}$ | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 |
| $r_{10}$ | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | |
| $r_{11}$ | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | |
| | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | |
Result. in the reverse order (eventually complemented by a circular shift), i.e. $r_{11}, r_{10}, r_{9}, \ldots, r_{1}$ or $r_{10}, r_{9}, \ldots, r_{1}, r_{11}, \ldots, r_{1}, r_{11}, r_{10}, \ldots, r_{2}$
Solution outline. Observe that the table is symmetric with respect to the other diagonal. To make it symmetric with respect to the marked diagonal it is sufficient to reflect it over the horizontal axis.
Remark: For this table there are no solutions except the eleven mentioned above.
Problem 42J / 32S. For every positive integer $n$ let
$$
a_{n}=\frac{1}{n} \sqrt[3]{n^{3}+n^{2}-n-1}
$$
Find the smallest integer $k \geq 2$ such that $a_{2} \cdot a_{3} \cdots a_{k}>4$.
Result. 254
Solution outline. Denoting $A_{n}=a_{n}^{3}$ our problem is equivalent to finding the smallest integer $k \geq 2$ such that $A_{2} \cdot A_{3} \cdots A_{k}>4^{3}=64$. We have
$$
A_{n}=\frac{n^{3}+n^{2}-n-1}{n^{3}}=\frac{(n+1) \cdot(n+1) \cdot(n-1)}{n \cdot n \cdot n}
$$
and hence
$$
A_{2} \cdot A_{3} \cdots A_{k}=\frac{3 \cdot 3 \cdot 1}{2 \cdot 2 \cdot 2} \cdot \frac{4 \cdot 4 \cdot 2}{3 \cdot 3 \cdot 3} \cdots \frac{(k+1) \cdot(k+1) \cdot(k-1)}{k \cdot k \cdot k}=\frac{1 \cdot(k+1) \cdot(k+1)}{2 \cdot 2 \cdot k}=\frac{(k+1)^{2}}{4 k}
$$
It remains to solve the inequality
$$
(k+1)^{2}>256 k
$$
for integer $k$. Substracting $2 k$ from both sides and multiplying them by $1 / k$ yields equivalent inequality $k+\frac{1}{k}>254$, the smallest integer solution of which is $k=254$.
Problem 43J / 33S. Barbara cut the pizza into $n$ equal slices and then she labeled them with numbers $1,2, \ldots, n$ (she used each number exactly once). The numbering had the property that between each two slices with consecutive numbers ( $i$ and $i+1$ ) there was always the same number of other slices. Then came the fatty Paul and ate almost the whole pizza, only the three neighboring slices with numbers 11, 4, and 17 (in this exact order) remained. How many slices did the pizza have?
Result. 20
Solution outline. Suppose that between the slices with consecutive numbers we have exactly $k-1$ other slices, that is by moving by $k$ slices we get from slice with number 1 to slice with number 2 , from slice 2 to slice 3 and so on. All these movements have to be in the same direction, otherwise we would get from slice $i$ to the previous slice $i-1$ and not to $i+1$. From the slice $n$ we get in this way necessarily to slice number 1 , because any other $i$ has in distance $k$ slices with numbers $i+1$ and $i-1$. By moving with the step $k$ slices we will finally pass through the whole pizza. Hence there is $s$ such that moving $s$ times by $k$ slices we will end exactly at the neighboring slice. Thus we get
$$
11-4 \equiv s \cdot k \equiv 4-17 \quad(\bmod n)
$$
which implies that $7-(-13)=20$ is divisible by $n$. There is a slice with number 17 and hence $n \geq 17$ which implies that the only solution is $n=20$.
Problem 44J / 34S. In one of the lecture halls at Matfyz the seats are arranged in a rectangular grid. During the lecture of analysis there were exactly 11 boys in each row and exactly 3 girls in each column. Moreover, two seats were empty. What is the smallest possible number of the seats in the lecture hall?
Result. 144
Solution outline. We denote by $r$ and $s$ the number of rows and columns in the lecture hall. From the instructions we have $r s=11 r+3 s+2$, which is equivalent to
$$
(r-3)(s-11)=35
$$
The numbers in the brackets are either 5 and 7 , or 1 and 35 in some order. By writing down all four possibilities we can find that the smallest number $r s$ corresponds to the case $r-3=5, s-11=7$, when $r s=8 \cdot 18=144$. It remains to show that we can really put the students in the lecture hall as requested, which can be seen in the picture.

Problem 45J / 35S. Circle $k$ with radius 3 is internally tangent to circle $l$ with radius 4 at point $T$. Find the greatest possible area of triangle $T K L$, where $K \in k$ and $L \in l$.
Result. $9 \sqrt{3}=\frac{27}{\sqrt{3}}$
Solution outline. Denote by $[X Y Z]$ the area of triangle $X Y Z$.
Denote by $M$ the intersection of $T L$ with $k(M \neq T)$. Since $T$ is the center of homothety with factor $\frac{4}{3}$ sending $k$ to $l$, points $L$ and $M$ correspond and thus $T L=\frac{4}{3} T M$ and $[T K L]=\frac{4}{3}[T K M]$ (the triangles share an altitude from $K$ ). Hence it suffices to maximize the area of $T K M$ inscribed in circle $k$ with radius 3 . From all such triangles the equilateral one has the greatest area, namely
$$
3 \cdot\left(\frac{1}{2} \cdot 3 \cdot 3 \sin 120^{\circ}\right)=\frac{27 \sqrt{3}}{4}
$$
Hence the area of the corresponding triangle $T K L$ is
$$
\frac{4}{3} \cdot \frac{27 \sqrt{3}}{4}=9 \sqrt{3}
$$

Problem 46J / 36S. Alice and Bob are playing the following game: At the beginning they have a set of numbers $\{0,1, \ldots, 1024\}$. First Alice removes any $2^{9}$ elements, then Bob removes any of the remaining $2^{8}$ elements, then Alice removes $2^{7}$ elements and so on until at last Bob removes one element and there are exactly two numbers remaining. The game ends then and Alice pays to Bob the absolute value of the difference of these two numbers in Czech crowns. How many crowns will Bob get if they both play in the best way they can?
Result. 32
Solution outline. Bob can double the smallest distance between any two numbers in each step by removing every other element. In this way he wins at least $2^{5}=32$ crowns. Alice can halve the difference of the largest and the smallest number in each step by removing upper half (or lower half) of all remaining numbers. This ensures that she loses at most $1024 / 2^{5}=32$ crowns. Therefore if they both play in the best way, Bob will get 32 crowns.
Problem 47J / 37S. Some students of Matfyz did not pass the exams and were expelled. They all started to study at SOU (some other university). It had the following consequences:
1. The number of students of Matfyz decreased by one sixth.
2. The number of students of SOU increased by one third.
3. The average IQ on both schools increased by $2 \%$.
How many times was the average IQ at Matfyz higher than average IQ at SOU?
Result. $\frac{6}{5}=1.2$-times
Solution outline. We denote by $100 \mathrm{~m}$ the original average IQ of students at Matfyz and $100 \mathrm{v}$ the original average IQ of students at SOU. Further, we denote by $p$ the average IQ of students who changed from Matfyz to SOU. The average IQ at Matfyz increased by $2 \%$ and thus the average IQ of remaining students at Matfyz is $102 \mathrm{~m}$. From the ratio $5: 1$ of remaining students and from the original average $100 \mathrm{~m}$ we obtain the equation $100 m=\frac{5}{6} \cdot 102 m+\frac{1}{6} p$, which is the same as $p=90 m$. Analogously the average IQ at SOU was originally $100 v$ and with the new students it has risen to $102 v$. From the ratio $3: 1$ we have the equation $102 v=\frac{3}{4} \cdot 100 v+\frac{1}{4} p$, which implies $p=108 v$. Altogether this gives us
$$
90 m=108 v, \quad \text { and hence } \quad \frac{m}{v}=\frac{108}{90}=\frac{6}{5}
$$
Problem 48J / 38S. A regular tetradecagon $A_{1} A_{2} \ldots A_{14}$ is inscribed in a circle $k$ of radius 1. How large is the part of the disc circumscribed by the circle $k$, which lies inside the angle $\angle A_{1} A_{4} A_{14}$ ?
Result. $\frac{\pi}{14}$
Solution outline. Let us focus on points $A_{1}, A_{4}, A_{14}$ and $A_{11}$.

Since $11=4+7$, the line segment $A_{4} A_{11}$ is a diameter of the circle $k$. On the other hand we have $4-1=3=14-11$, so $A_{1} A_{4} A_{11} A_{14}$ is an isosceles trapezoid and its bases $A_{4} A_{11}$ and $A_{1} A_{14}$ are parallel. The area of the triangle $A_{1} A_{4} A_{14}$ is therefore the same as the area of the triangle $A_{1} O A_{14}$, where $O$ is the center of $k$. The area to compute is then equal to the area of the sector $A_{1} O A_{14}$, i.e. one fourteenth of the area of the disc.
Problem 49J / 39S. Bill and Carol saw the 24 -element set $\{1,2, \ldots, 24\}$. Bill wrote down all its 12element subsets whose sum of the elements was even. Carol wrote down all its 12 -element subsets whose sum of the elements was odd. Who wrote more subsets and by how many?
Result. Bill, $\binom{12}{6}=924$ subsets more
Solution outline. Consider an arbitrary 12-element subset $B$ and assume there exists an integer $i$ such that $B$ contains exactly one of the numbers $2 i-1,2 i$. Let us take the smallest such $i$ and construct a 12-element set $f(B)$, which contains the same elements as $B$ with the only exception: It contains the other element from the couple $2 i-1,2 i$.
It is easy to see that $f(f(B))=B$ and that by applying $f$ on a Bill's subset we obtain Carol's subset and vice versa. So, $f$ is a bijection between Bill's and Carol's subsets, if we consider just those subsets for which there exists an $i$ from the previous paragraph. It remains to count the remaining subsets, for which such $i$ does not exist.
In each of the remaining subsets, there must be exactly six odd numbers and six even numbers which are successors of the odd ones. Sum of the elements of such subsets is always even (hence they belong to Bill's list) and the number of such subsets is $\binom{12}{6}$.
Problem 50J / 40S. Jack thought of three distinct positive integers $a, b, c$ such that the sum of two of them was 800. When he wrote numbers $a, b, c, a+b-c, a+c-b, b+c-a$ and $a+b+c$ on a sheet of paper, he realized that all of them were primes. Determine the difference between the largest and the smallest number on Jack's paper.
Result. 1594
Solution outline. Let us assume without loss of generality that $b+c=800$. At least one of the numbers $a, b+c-a=800-a, a+b+c=800+a$ is divisible by three, so it can be prime number only if it is equal to three. Since $800+a>800$, there are only two possibilities, $a=3$ or $800-a=3$.
If $a=3$, then we have $3+(b-c) \geq 2$ and simultaneously $3-(b-c) \geq 2$, so $|b-c| \leq 1$. This is impossible, since $b+c=800$.
So, we know that $800-a=3$, i.e. $a=797$. The largest among Jack's prime numbers is $a+b+c=$ $797+800=1597$. Since $b+c=800$, none of the Jack's primes is even. Therefore, the smallest number is $800-a=3$. The difference is then $1597-3=1594$.
Let us remark that such numbers exist, we can take $a=797, b=223, c=577$.
Problem 51J / 41S. Helen stained two randomly chosen places on a one-meter bar. Thereupon Alex came and shattered the bar, just as well randomly, into 2013 pieces. What is the probability of both stains being now on the same piece?
Result. $\frac{1}{1007}$
Solution outline. Imagine the bar is in one piece. Helen marked it randomly with two stains, whereas Alex marked it randomly with 2012 breaks. The bar thus contains altogether 2014 marks, two of which are stains. The total number of possibilities of which marks can be stains is $\binom{2014}{2}=1007 \cdot 2013$. The stains are on the same piece (or shard) if and only if they are neighbouring marks, which occurs in 2013 cases. The resultant probability is
$$
\frac{2013}{1007 \cdot 2013}=\frac{1}{1007}
$$
Problem 52J / 42S. How many ten-digit positive integers that are made up of $0,1, \ldots, 9$ (i.e. each digit is used exactly once) are multiples of 11111 ?
Note: The first digit of a positive integer cannot be 0 .
Result. $3456=2^{5} \cdot 5!-2^{4} \cdot 4!$
Solution outline. Since $0+1+\cdots+9=9 \cdot 5$, the numbers under investigation must be divisible by nine, hence even by 99999 . Let us denote $A$ and $B$ the numbers consisting of the former and the latter five-tuple of the investigated number respectively. We have
$$
99999 \mid 100000 A+B, \text { iff } 99999 \mid A+B
$$
Given that $A, B$ are five-digit positive integers less than 99999 , we observe
$$
0<A+B<2 \cdot 99999 \text {, hence } A+B=99999 \text {, or equally } B=99999-A \text {. }
$$
Therefrom we obtain the necessary and sufficient condition on $A, B$ for divisibility of the investigated ten-digit number by 99999: For $i=1, \ldots, 5$, the $i$-th digit of $B$ is a complement of $i$-th digit of $A$ into nine. We couple the available digits into five pairs
$$
(0,9),(1,8),(2,7),(3,6),(4,5)
$$
We know that these pairs must be used in certain order (5! options) and at the same time, in each pair we may choose, which digit will be put in $A$ and which in $B$ ( $2^{5}$ options). However, we have to remove the choices including a zero as the first digit in $A$ - that is 4 ! options of redistributing the remaining pairs and $2^{4}$ options of redistributing their digits between $A$ and $B$. The amount of desired numbers is thus $5!\cdot 2^{5}-4!\cdot 2^{4}$.
Problem 53J / 43S. A polynomial $P(x)$ of degree 2013 with real coefficients fulfills for $n=0,1, \ldots, 2013$ the relation $P(n)=3^{n}$. Evaluate $P(2014)$.
Result. $3^{2014}-2^{2014}$
Solution outline. Define the polynomial $Q(x)=\sum_{k=0}^{2013}\binom{x}{k} 2^{k}$. Its degree is 2013 and moreover, for any $x \in\{0, \ldots, 2013\}$ the binomial theorem yields
$$
Q(x)=\sum_{k=0}^{2013}\binom{x}{k} 2^{k}=\sum_{k=0}^{x}\binom{x}{k} 2^{k}=(1+2)^{x}=P(x)
$$
The polynomial $P(x)-Q(x)$ is of degree 2013 and it possesses 2014 roots, whereby it must be zero. Hence $P(x)=Q(x)$ and it only remains to compute
$$
Q(2014)=\sum_{k=0}^{2013}\binom{2014}{k} 2^{k}=\sum_{k=0}^{2014}\binom{2014}{k} 2^{k}-\binom{2014}{2014} 2^{2014}=(1+2)^{2014}-2^{2014}=3^{2014}-2^{2014}
$$
Problem 54J / 44S. Inside an isosceles triangle $A B C$ fulfilling $A B=A C$ and $\angle B A C=99.4^{\circ}$, a point $D$ is given such that $A D=D B$ and $\angle B A D=19.7^{\circ}$. Compute $\angle B D C$.
Result. $149.1^{\circ}$
Solution outline. Denote by $E$ the image of $B$ in reflection over $A D$.

Then $A E=A B=A C$ and $\angle E A C=\angle B A C-2 \cdot \angle B A D=60^{\circ}$, entailing that the triangle $A E C$ is equilateral and $C E=C A$. In addition, $D E=D B=D A$ due to symmetry, and therefore $C D$ is the perpendicular bisector of $A E$ and $\angle A C D=\frac{1}{2} \angle A C E=30^{\circ}$. Now it is simple to use the nonconvex quadrilateral $A B D C$ for computing
$$
\angle B D C=\angle D B A+\angle B A C+\angle A C D=19.7^{\circ}+99.4^{\circ}+30^{\circ}=149.1^{\circ}
$$
Problem 55J / 45S. Find the largest positive integer not ending with a zero such that removal of one of its "inner" digits produces its divisor.
Note: An "inner" digit denotes any digit except for the first and the last one.
Result. 180625
Solution outline. Let $X$ be the sought-after number. First we deduce the digit to be removed must be the second one.
Proceeding by contradiction, assume the two initial digits have remained. Out of an $n$-digit number $X$, the removal produces an $(n-1)$-digit number $X^{\prime}$. The number $10 \cdot X^{\prime}$ has then $n$ digits again, the two initial ones being the same as in $X$, yet $X \neq X^{\prime}$ because the former does not end with a zero. This is a contradiction - subtracting two multiples of an $(n-1)$-digit number cannot produce an $(n-2)$-digit number.
Now we write $X=a \cdot 10^{n+1}+b \cdot 10^{n}+c$, where $a$ and $b$ are digits $(a \neq 0)$ and $c<10^{n}$ is a number with a nonzero terminal digit. Removal of the second digit produces $X^{\prime}=a \cdot 10^{n}+c$. Hence, for a suitable $k \in \mathbb{N}$, it follows that
$$
a \cdot 10^{n+1}+b \cdot 10^{n}+c=k \cdot\left(a \cdot 10^{n}+c\right)
$$
At this point we observe $k<20$. Indeed, provided $k \geq 20$, the number $X$ would have a greater initial digit than $X^{\prime}$, which is impossible. Let us modify the equality into
$$
10^{n}(10 a+b-k \cdot a)=(k-1) c
$$
Given that the left-hand side is divisible both by $2^{n}$ and $5^{n}$, the right-hand side must share the same property. The number $c$ does not end with a zero, hence $k-1$ has to be divisible by at least one of the prime numbers 2,5 in their full power. Seeing that $k<20$, we conclude $n \leq 4$ (by reason of $2^{5}>20$ and even $5^{2}>20$ ), resulting in $X$ having at most 6 digits. On the other hand, for $n=4$ it must be $k-1=16$, yielding
$$
5^{4}(b-7 a)=c
$$
In order for the right-hand side to be nonnegative, the only option is $a=1$ ( $a$ and $b$ are digits). As for $b$, we may choose $b=8, b=9$, the latter of which we disregard for $c$ would end with a zero. With $b=8$, we calculate $c=5^{4}=625$ and finally verify that $X=1 \cdot 10^{5}+8 \cdot 10^{4}+625=180625$ really is a solution to the problem.
Problem 56J / 46S. Three mutually distinct real numbers $a, b, c$ satisfy
$$
a=(b-2) c, \quad b=(c-2) a, \quad c=(a-2) b
$$
Compute the product $a b c$.
Result. 3
Solution outline. If any of $a, b, c$ is zero, then all the numbers are zero, which contradicts their mutual distinctness. Similarly, the numbers $a, b, c$ cannot be three.
We use the third equality to express $c$ in the first and the second equation and then we modify the second expression $b=(a b-2 b-2) a$ into $b\left(a^{2}-2 a-1\right)=2 a$. Since the right-hand side is nonzero, the same must hold also on the left; it is therefore legitimate to divide by $a^{2}-2 a-1$ and hence to express $b$ by means of $a$. We insert the result into the first expression. After some modifications we obtain
$$
a(a-3)\left(a^{3}+3 a^{2}-9 a-3\right)=0
$$
hence $a$ is a root of the polynomial $P(x)=x^{3}+3 x^{2}-9 x-3$. By analogy, we derive that $b$ and $c$ are roots of the same polynomial as well. Since $a, b, c$ are mutually distinct, we infer $P(x)=(x-a)(x-b)(x-c)$. Comparing coefficients of the absolute term, we get $a b c=3$.
Problem 57J / 47S. In a scalene triangle $A B C$, there is an altitude of the same length as one median and another altitude of the same length as another median. In what ratio are the lengths of the third altitude and the third median?
Result. $\frac{2}{7}$
Solution outline. Without loss of generality assume $a>b>c$. The corresponding altitudes and medians then satisfy $v_{a}<v_{b}<v_{c}$ and $t_{a}<t_{b}<t_{c}$ respectively. At the same time, $v_{a}<t_{a}$, $v_{b}<t_{b}$ and $v_{c}<t_{c}$, which implies $v_{b}=t_{a}$ and $v_{c}=t_{b}$.
Let us denote by $M$ the midpoint of the side $B C$ and by $M_{0}$ the projection of $M$ to the side $A C$. In the right triangle $A M M_{0}$ we observe $M M_{0}=\frac{1}{2} v_{b}=\frac{1}{2} t_{a}=\frac{1}{2} A M$, hence $\angle M A C=30^{\circ}$. Denoting by $N$ the midpoint of the side $A C$, we obtain similarly $\angle N B A=30^{\circ}$.

Now let $G$ be the centroid of triangle $A B C$. Consider the equilateral triangle $A_{1} B C_{1}$ with $B N$ being one of its medians. The point $A_{1}$ fulfills $\angle N B A_{1}=30^{\circ}$ as well as $\angle G A_{1} N=30^{\circ}$ and yet it is distinct from the point $A$ (the triangle $A B C$ is scalene). "The real" point $A$ must be therefore the other intersection of the ray $B A_{1}$ with the arc $G A_{1} N$, that is, the midpoint of the line segment $B A_{1}$. Consequently $\angle B A C=120^{\circ}$ and $A C: A B=2$.
In a triangle with an angle $\alpha=120^{\circ}$ and side lengths $A B=1, A C=2$ we employ the Law of Cosines to calculate $a=\sqrt{1^{2}+1 \cdot 2+2^{2}}=\sqrt{7}$ and $t_{c}=\sqrt{1 / 4+1+4}=\frac{1}{2} \sqrt{21}$, then the area $S=\frac{1}{2} \cdot 1 \cdot 2 \cdot \sin 120^{\circ}=\frac{1}{2} \sqrt{3}$ and finally $v_{a}=2 S / a=3 / \sqrt{21}$. Putting everything together we thus obtain
$$
\frac{v_{a}}{t_{c}}=\frac{\frac{3}{\sqrt{21}}}{\frac{1}{2} \sqrt{21}}=\frac{2}{7}
$$
|