Estonian 2021
Estonian 2021
Estonian 2021
2020/2021
University of Tartu
Jaan Tallinn
Robert Kitt
3
Problems
Selected Problems from Open Contests
O1 (Juniors.) Juku claims that if the sum of the squares of all digits of a
natural number is divisible by 3 then the number itself is divisible by 3. Is
Juku’s claim always true?
O2 (Juniors.) Xavier and Olivier are playing tic-tac-toe in the rectangular
grid of size 3 × 3 with modified rules. On every move, a player chooses an
empty square and writes his token into it. Players take turns alternately,
with Xavier starting. The player who is the first to occupy any three squares
that either are all in the same row or column or lie in pairwise distinct rows
and columns wins. Does either of the players have a winning strategy and
if yes then who?
O3 (Juniors.) Do there exist numbers a, b, c that satisfy the equation
2a(c − a) − b(2a + b) + c(2b − c) = 2020?
O4 (Juniors.) The bisector of the angle on vertex A of triangle ABC inter-
sects the circumcircle of triangle ABC at point F (F 6= A). Points D and E
are chosen on the sides AB and AC, respectively, in such a way that the
lines DE and BC are parallel. Let G and H be the points of intersection
of the rays FD and FE, respectively, with the circumcircle of triangle ABC
(G 6= F, H 6= F). The circumcircles of triangles AGD and AHE intersect at
point P (P 6= A). Prove that point P lies on the line AF.
O5 (Juniors.) Find all integers n > 3 such that one can write a number
(not necessarily an integer) into each vertex of a regular n-gon in such a
way that both following conditions are met:
(1) Whenever three consecutive vertices of the n-gon, taken clockwise,
contain numbers x, y and z, respectively, the equality x = |y − z| holds;
(2) The sum of the numbers in all vertices of the n-gon is 1.
O6 (Juniors.) A set of 8 dominoes is given, each consisting of two unit
squares:
5
O8 (Juniors.) In a math period, the teacher asks pupils to solve quadratic
equations of the form x2 + px + q = 0 where p and q are some integers. The
teacher obtains every new equation by either increasing by 1 or decreasing
by 1 the value of either p or q in the equation just solved. In the initial
equation, p = 2020 and q = 2010, whereas in the last equation, p = 2010
and q = 2020. Is it definitely true that both solutions of at least one equation
solved during the period are integers?
O9 (Juniors.) Let ABC be a triangle such that AB = AC. Point K lies on
the altitude drawn from vertex A and point L is chosen on the line BK in
such a way that AL k BC. Prove that if KC ⊥ CL then point L lies on the
bisector of the external angle on vertex C of triangle ABC.
O10 (Juniors.) Let n be a natural number, n > 2. There are n lamps on a
circle. The lamps are labeled clockwise by natural numbers from 1 kuni n.
Each lamp can be either on or off. A switch between every two adjacient
lamps enables one to change the state of both lamps simultaneously. In the
beginning, all lamps are off. How many distinct configurations of states of
lamps is it possible to achieve using these switches?
O11 (Seniors.)
(a) Find the largest number expressible as the difference of two two-digit
numbers obtained from each other by changing the order of digits.
(b) The same question with three-digit instead of two-digit numbers.
O12 (Seniors.) Do there exist real numbers x, y, z, t that meet the following
system of equations?
1 + x 3 + y2 = 0
1 + y3 + z2 = 0
1 + z3 + t2 = 0
1 + t3 + x 2 = 0
x+y+z+t = 0
7
Selected Problems from the Final Round of
National Olympiad
F1 (Grade 9.) Can natural numbers 1 through 12 be written
into the squares of the grid shown in the figure in such a way
that all following conditions are met?
(1) Each square contains exactly one number.
(2) The sums of numbers in both rows consisting of 4 squares, in both
columns consisting of 4 squares, and in 4 middle squares are all equal.
(3) The numbers in any two squares with a common side or vertex differ
from each other by at least 2.
F2 (Grade 9.) Let D be the foot of the altitude drawn to the hypotenuse
AB of a right triangle ABC. The inradii of the triangles ABC, CAD and
CBD are r, r1 and r2 , respectively. Prove that CD = r + r1 + r2 .
F3 (Grade 9.) Players A, B and C are playing the following game. Ini-
tially, the number 1 is written on a blackboard. On their move, each player
replaces the number n currently on the blackboard with either n + 1, 7n + 7,
or 4n3 + 3n + 4 at their own choice, under the condition that the new num-
ber must not be larger than 109 . The player A makes the first move, then
B takes turn, then C, after him A again etc., until some player cannot make
a legal move. The player who makes the last move wins. Can any of the
players win the game against every legal play by the opponents and if yes
then who?
F4 (Grade 10.) Let a, b, c, d be positive real numbers satistfying the sys-
tem of equations
2 1 1
a + b2 = 2 ,
b2 + 4 = 8,
c2
c2 + 16
d2
= 2,
2 4
d + a2 = 32.
Determine the product abcd.
F5 (Grade 10.) Find all positive integers k for which there√is a right trian-
gle with legs of integral lengths and hypotenuse of length 88 . . . 822 . . . 2,
where the number under the root consists of exactly k eights and exactly k
twos.
F6 (Grade 10.) Let D and E be the midpoints of sides AB and AC, re-
spectively, of a triangle ABC. Prove that the line AB is tangent to the cir-
cumcircle of the triangle BEC if and only if the line AC is tangent to the
circumcircle of the triangle BED.
F7 (Grade 10.) Natural numbers 1 through n are written on a black-
board. On each move, one erases from the blackboard 2 or more numbers
8
whose sum is divisible by any of the chosen numbers and writes their sum
on the blackboard. Two players make moves by turns and the player who
cannot move loses the game. Which player can win the game against any
play by the opponent, if:
(a) n = 6;
(b) n = 11?
F8 (Grade 11.) Prove that
1
sin 10◦ · cos 20◦ · sin 30◦ · cos 40◦ · sin 50◦ · cos 60◦ · sin 70◦ · cos 80◦ = .
256
F9 (Grade 11.) The bisector of the internal angle on vertex A of a triangle
ABC intersects the side BC at point D. The line tangent to the circumcircle
of the triangle ABC at point A intersects the line BC at point K. Prove that
KA = KD.
F10 (Grade 11.) Prove that in every solved sudoku X X XX
the squares marked “X” in the figure contain precisely X X XX
YYYYY
the same digits as the squares marked “Y”, counting Y Y
repetitions. (For instance, if the squares marked “X” Y Y
contain three digits 3 in total then the squares marked Y Y
YYYYY
“Y” also contain three digits 3 in total.) XX XX
XX XX
9
F14 (Grade 12.) Point D inside an acute triangle ABC satisfies
∠ ADC = ∠ BDA = 180◦ − ∠CAB.
Prove that the point symmetric to point A w.r.t. point D lies on the circum-
circle of the triangle ABC.
F15 (Grade 12.) There are 6 distinct lines chosen in the space. Find the
largest possible number of points where at least 3 chosen lines intersect.
F16 (Grade 12.) Two regular polygons have a common circumcircle. The
sum of the areas of the incircles of these polygons equals the area of their
common circumcircle. Find all possibilities of how many vertices can the
two polygons have.
10
Problems with Solutions
Selected Problems from Open Contests
O1 (Juniors.) Juku claims that if the sum of the squares of all digits of a
natural number is divisible by 3 then the number itself is divisible by 3. Is
Juku’s claim always true?
Answer: No.
Solution: The sum of the squares of the digits of the number 112 is 6 which
is divisible by 3, while the number 112 is not divisible by 3.
O2 (Juniors.) Xavier and Olivier are playing tic-tac-toe in the rectangular
grid of size 3 × 3 with modified rules. On every move, a player chooses an
empty square and writes his token into it. Players take turns alternately,
with Xavier starting. The player who is the first to occupy any three squares
that either are all in the same row or column or lie in pairwise distinct rows
and columns wins. Does either of the players have a winning strategy and
if yes then who?
Answer: Yes, Xavier.
Solution: Note that every two unit squares uniquely determine a unit square
that constitutes a winning triple together with the given two squares. La-
bel all unit squares except the middle square clockwise with numbers 1
through 8 (Fig. 1); let Xavier initially play into the middle square and if
Olivier then moves into the square No. i then let Xavier make his second
move into the square No. i + 1 (square No. 1 if i = 8; all possible po-
sitions after Xavier’s second move, modulo rotation of the table, are de-
picted in Figures 2 and 3). In order to prevent loss of the game, Olivier
must occupy the unit square that constitutes a winning triple together with
the two squares occupied by Xavier. Let Xavier then move into the square
that constitutes a winning triple together with the two squares previously
occupied by Olivier (all possible positions after Xavier’s third move are de-
picted in Figures 4 and 5). Then Olivier can’t win on his next move. But the
three squares occupied by Xavier contain three pairs, out of which only one
pair has its corresponding winning third square occupied by Olivier. Thus
Olivier can’t block them all, whence Xavier can win on his next move.
Remark: The strategy described in the solution is not the only winning strat-
egy that Xavier has.
1 2 3 O X O X O X O X
8 4 X X X X X X
7 6 5 O O
H H
G G
L
D E D E
K
B C B C
F Z F
Fig. 6 Fig. 7
13
O5 (Juniors.) Find all integers n > 3 such that one can write a number
(not necessarily an integer) into each vertex of a regular n-gon in such a
way that both following conditions are met:
(1) Whenever three consecutive vertices of the n-gon, taken clockwise,
contain numbers x, y and z, respectively, the equality x = |y − z| holds;
(2) The sum of the numbers in all vertices of the n-gon is 1.
Answer: All positive multiples of 3.
Solution: Let the vertices of an n-gon A0 A1 . . . An−1 be labeled with num-
bers satisfying the conditions. Let a be the least among these numbers.
W.l.o.g., assume that A0 contains a and the indices of vertices are increasing
counterclockwise. Let b and c be the numbers at vertices An−1 and An−2 ,
respectively (Fig. 8). By condition (1), a = |b − c| > 0. By the choice of a, we
must have b > a, whence by condition (1), A1 contains b − a. As b − a > a by
the choice of a, the condition (1) also implies that A2 contains b − 2a. Hence
A3 contains (b − a) − (b − 2a) = a by condition (1) and non-negativity of a.
Since the vertices can be renumerated without changing the direction in
such a way that A3 becomes A0 , we can conclude that A6 also contains a.
Similarly, every third vertex contains a. If the number n of vertices is not
divisible by 3 then either An−1 or A1 must contain a and, as we can repeat
this argument, also An−2 or A2 , respectively, contains a. Thus three consec-
utive vertices contain a. Applying the condition (1) to these three vertices,
we obtain a = | a − a| = 0. But 0 being in two consecutive vertices implies
that 0 is in all vertices. Then the sum of all labels is 0, contradicting the
condition (2).
This shows that n must be divisible by 3. Let n = 3k where k is a positive
integer. For every 3k-gon, the conditions of the problem can be satisfied by
1
writing 0 into every third vertex and 2k into all other vertices (Fig. 9 depicts
the situation for k = 4).
A6
A7 A5
1
0 1
A8 8 8 A4
1 1
8 8
A9 0 0 A3
1 1
8 8
c
A n−2 A2 A10 1 1 A2
b a
8
0
8
A n−1 A1 A11 A1
A0 A0
Fig. 8 Fig. 9
14
Is it possible to completely cover a rectangular grid of size 4 × 4 with these
dominoes in such a way that all rows and columns of the grid contain the
same number of pips?
Answer: Yes.
Solution: Figure 10 shows one possibility.
1 2 8 9
4 5 5 6
8 7 3 2
7 6 4 3
Fig. 10
B C
Fig. 11
16
A L
Q A L
K K
B C P B C
Fig. 12 Fig. 13
Let P be a point on line BC such that C is between B and P, and let lines CK
and AL intersect at Q (Fig. 12). As ∠ BKC = ∠ LKQ and ∠KBC = ∠KLQ,
triangles KBC and KLQ are similar. Together with the equality |KB| = |KC |,
it implies |KL| = |KQ|. Thus KA is the altitude drawn from the vertex angle
of the isosceles triangle KLQ, implying also | AL| = | AQ|. Hence A is the
midpoint of the hypotenuse of the right triangle CLQ, implying that A is the
center of the circumcircle of the triangle CLQ. Consequently, | AC | = | AL|,
implying that ∠ ACL = ∠ ALC = ∠ LCP, i.e., CL bisects the external angle
on vertex C of the triangle ABC.
Solution 3: When point K moves along the altitude drawn from vertex A
of the triangle ABC farther from point A, the angle KCB decreases, while
point L also moves farther from point A, causing the angle LCB to increase.
Thus the difference ∠ LCB − ∠KCB also increases in this process and can
equal 90◦ in the case of exactly one location of point K. Hence it suffices
to show that if L lies at the bisector of the external angle on vertex C of the
triangle ABC then ∠ LCK = 90◦ .
So let L lie at the bisector of the external angle on vertex C of the triangle
ABC (Fig. 13). As AL k BC and AK ⊥ BC, we have AK ⊥ AL; as AK
is the altitude drawn from the vertex angle of the triangle ABC, it bisects
the vertex angle, whence also L lies on the bisector of the external angle on
vertex A of the triangle ABC. Thus L is the center of the excircle tanglent
to side AC of the triangle ABC and lies also on the bisector of the internal
angle on vertex B of the triangle ABC. Hence both AK and BK are angle
bisectors, implying that K is the intersection point of angle bisectors of the
triangle ABC and CK is the bisector of the internal angle on vertex C of the
triangle ABC. Consequently, CK and CL are perpendicular.
O10 (Juniors.) Let n be a natural number, n > 2. There are n lamps on a
circle. The lamps are labeled clockwise by natural numbers from 1 kuni n.
Each lamp can be either on or off. A switch between every two adjacient
lamps enables one to change the state of both lamps simultaneously. In the
beginning, all lamps are off. How many distinct configurations of states of
lamps is it possible to achieve using these switches?
Answer: 2n−1 .
Solution 1: As the state of each lamp is determined by the parity of the
17
number of switchings that influence this lamp, the result of every sequence
of switchings is determined by the set of switches that have been touched
an odd number of times. Hence all possible states can be achieved by
sequences of switchings that touch some switches once and do not touch
other switches at all, whereby the order of switchings is irrelevant.
Note that every two set of switches, one of which contains precisely the
switches that the other one does not, lead to equal final states, because
touching these two sets of switches in a row one touches each switch ex-
actly once and thus changes the state of each lamp exactly twice. As there
are 2n sets of switches and these sets can be divided into pairs that give
equal final states, there can be at most 2n−1 final states.
If two sets of switches are neither equal nor complementary (in the sense
of previous paragraph) then touching these two sets of switches in a row
does not give back the initial state, because this sequence of switchings is
equivalent to touching a set of switches that contains some switch and does
not contain some other switch, but then there must exist a lamp, the switch
in only one side of which is touched. Hence every pair of sets of switches
defined in the previous paragraph gives a unique final state, i.e., there are
2n−1 possible distinct final states.
Solution 2: After every switching, either two more lamps are burning, two
less lamps are burning, or the number of burning lamps does not change.
As the initial number of burning lamps is even, the number of burning
lamps stays even.
We show that every state with an even number of burning lamps can be
achieved. As the switchings are invertible (repeating the same touch re-
verts the previous change), it suffices to show that, starting from any state
with an even number of burning lamps, one can achieve the state where no
lamp is burning. Indeed, while there exist two consecutive burning lamps,
we can switch off both these lamps. If there do not exist such lamps, but
some lamps are still burning, one can shift a lonely burning lamp clock-
wise by repeatedly touching the clockwise nearest switch until two consec-
utive lamps are burning. Switching these two lamps off decreases the total
number of burning lamps by 2. This way, we can decrease the number of
burning lamps until all lamps are switched off.
2b n c
Thus the number of all achievable states is Cn0 + Cn2 + . . . + Cn 2 which
equals 2n−1 .
O11 (Seniors.)
(a) Find the largest number expressible as the difference of two two-digit
numbers obtained from each other by changing the order of digits.
(b) The same question with three-digit instead of two-digit numbers.
Answer: (a) 72; (b) 801.
18
Solution:
(a) Let the given two-digit number be ab. The only number that can be
obtained by changing the order of digits is ba. The difference of these num-
bers is (10a + b) − (10b + a) = 9( a − b). To obtain the largest difference,
a must be as large as possible and b as small as possible. Since b = 0 is
impossible, we must have a = 9 and b = 1 giving a − b = 8. Hence the
desired largest difference is 72.
(b) Let the given three-digit number be abc. Interchanging the last two
digits can change it by less than 100. Interchanging the first two digits can
change the number by at most 720 by part a) of the problem. It remains to
study cases where changing the order of digits results in cab, bca or cba.
• The difference of numbers abc and cab is (100a + 10b + c) − (100c +
10a + b) = 9(10a + b − 11c). To obtain the largest difference, a and b
must be as large as possible and c as small as possible. Since c is the first
digit of the number, c = 0 is impossible, whence the largest difference
is obtained if a = b = 9 and c = 1. This difference is 991 − 199 = 792.
• The difference of numbers abc and bca is (100a + 10b + c) − (100b +
10c + a) = 9(11a − 10b − c). To obtain the largest difference, a must be
as large as possible and both b and c as small as possible, i.e., a = 9,
b = 1 and c = 0. This difference is 910 − 109 = 801.
• The difference of numbers abc and cba is (100a + 10b + c) − (100c +
10b + a) = 99( a − c). To obtain the largest difference, a must be as
large as possible and c as small as possible. Since c 6= 0, the largest
difference is obtained if a = 9 and c = 1. Then the difference of the
three-digit numbers is 99 · 8 = 792.
Consequently, the desired largest difference is 801.
O12 (Seniors.) Do there exist real numbers x, y, z, t that meet the following
system of equations?
1 + x 3 + y2 = 0
1 + y3 + z2 = 0
1 + z3 + t2 = 0
1 + t3 + x 2 = 0
x+y+z+t = 0
Answer: No.
Solution 1: The first equation implies x3 = −y2 − 1. Thus x3 < 0, implying
also x < 0. Similarly from the second, third and fourth equations we obtain
y < 0, z < 0 and t < 0, respectively. The sum of negative numbers x, y, z, t
is negative, contradicting the fifth equation.
Solution 2: Suppose that the system has a solution. W.l.o.g., let x be variable
with the largest value. Then 4x > x + y + z + t, which by the last equation
implies x > 0. Consequently, also x3 > 0. As y2 > 0, this implies 1 + x3 +
y2 > 1, contradicting the first equation. Hence no solution can exist.
19
O13 (Seniors.) Let n be a fixed positive integer. Find all triples ( a, b, c) of
integers satisfying the following system of equations:
n +3
a + b n +2 c + c n +1 a 2 + a n b 3 = 0
b n + 3 + c n +2 a + a n +1 b 2 + b n c 3 = 0
n +3
c + a n +2 b + b n +1 c 2 + c n a 3 = 0
Answer: (0, 0, 0).
Solution: If a = 0 then the first equation implies bn+2 c = 0. Hence b = 0
or c = 0; w.l.o.g., b = 0. Then the last equation reduces to cn+3 = 0 which
implies c = 0. Thus if a = 0 then a = b = c = 0. Analogously we can prove
that if b = 0 or c = 0 then a = b = c = 0. The triple (0, 0, 0) satisfies the
equation.
It remains to consider triples ( a, b, c) whose all terms are different from 0.
Let p be an arbitrary prime number. If p | a then the first equation implies
p | bn+2 c. Thus p | b or p | c; w.l.o.g., p | b. Then the last equation gives
p | cn+1 which implies p | c. Thus if p | a then p | a, p | b, p | c. Analogously
we can prove that if p | b or p | c then p | a, p | b, p | c.
But rewriting a = pa0 , b = pb0 , c = pc0 enables us to divide both sides of
all equations by pn+3 , giving a similar system of equations having a0 , b0 ,
c0 in the role of a, b, c. Hence the triple ( a0 , b0 , c0 ) also satisfies the system
of equations. As the numbers other than 0 cannot be infinitely divided in
integers, a finite number of divisions should give us a solution whose terms
have no common prime factors. By the previous paragraph, this is possible
only if the values of variables have no prime factors, i.e., a = ±1, b = ±1,
c = ±1. We show now that such solutions do not exist. Indeed, if n is even
then the system of equations reduces to
a + c + c + b = 0,
b + a + a + c = 0,
c + b + b + a = 0.
20
lines AB and BC at points P and Q, respectively, and intersects the incircle
of triangle ABC at point N (N 6= M). Prove that if KM k AC then points P,
N and L are collinear.
Solution: Note that the circles of the problem can be obtained from each
other by homothetic transformation with center B since both are tangent
to sides BA and BC. Let X be the other intersection point of the line BL
with the circumcircle of the triangle MPQ (Fig. 14). The aforementioned
homothety takes point P to point K, point M to point L, and point X to
point M. By the homothety, ∠ PXM = ∠KML. Hence ∠KML = ∠KLA =
∠ LKM. Finally,
∠ PN M + ∠ LN M = (180◦ − ∠ PXM) + ∠ LKM
= (180◦ − ∠KML) + ∠KML = 180◦ .
This proves the desired claim that points P, N and L are collinear.
Remark: The converse is also true: if points P, N and L are collinear then
lines KM and AC are parallel. The proof is analogous.
P
X
N Q
K
M
A L C
Fig. 14
Fig. 15 Fig. 16
(b) One cannot start from the middle square of the leftmost column since
either of the corner squares would become a dead end. Hence suppose
w.l.o.g. that one starts from the top left corner and visits k squares in the
top row (inclusive of the initial square), where 1 6 k 6 n (Fig. 17). Going
directly to the bottom row would generally divide the grid into two isolated
parts; also turning to the right along the middle row would make it impos-
sible to visit squares in the left and afterwards reach the rightmost column.
Hence one should turn to the left along the middle row. Similarly we find
that the leftmost part of size 3 × k of the grid should be traversed along
Z-shape (Fig. 18). After that, one should follow similar sules to traverse the
remaining part of size 3 × (n − k).
Repeating the argument, we can see that every legal trajectory divides the
grid into Z-shapes and S-shapes, whereby Z-shapes are immediately fol-
22
1 2 ... k 1 2 ... k
Fig. 17 Fig. 18
lowed by S-shapes and vice versa. In every column but the last one we can
choose whether to start a new letter or make the current letter wider. In the
first column, we also can choose which corner to start in. Hence there are
2n possibilities altogether.
√ √
√O16 (Seniors.) Find the least positive integer n such that 5 5n, 6 6n and
7
7n are integers.
Answer: 235 · 335 · 584 · 790 .
Solution: Let n = 2α · 3β · 5γ · 7δ · s, where s is not divisible by 2, 3, 5 or
7; then 5n = 2α · 3β · 5γ+1 · 7δ · s, 6n = 2α+1 · 3β+1 · 5γ · 7δ · s and 7n =
2α · 3β · 5γ · 7δ+1 · s. Consequently:
√
• For 5 5n to be an integer, α, β, γ + 1 and δ must be divisible by 5;
√
• For 6 6n to be an integer, α + 1, β + 1, γ and δ must be divisible by 6;
√
• For 7 7n to be an integer, α, β, γ and δ + 1 must be divisible by 7.
Hence α and β must be divisible by 35, γ must be divisible by 42 and δ must
be divisible by 30. The least suitable value for α and β is 35 since 35 is the
least positive multiple of 35 and the next integer is divisible by 6. Studying
the multiples of 42 and 30 similarly shows that the least suitable value for γ
is 84 and the least suitable value for δ is 90. For the least suitable value for n,
take s = 1. Hence the desired number is 235 · 335 · 584 · 790 .
O17 (Seniors.) How many positive integers, where the only allowed digits
are 0 and 1, are less than 11111100100?
Answer: 2019.
Solution 1: The given number has 11 digits. There are 211 − 1 = 2047 posi-
tive integers with at most 11 digits each of which is either 0 or 1. We solve
the problem by subtracting the number of positive integers that are not less
than the given number.
The 11-digit numbers larger than the given number are all of the form
111111abcde. There are 25 = 32 numbers in this form. Among them, 4 num-
bers 11111100000, 11111100001, 11111100010 and 11111100011 are less than
the given number. Thus the number of positive integers consisting of zeros
and ones and being less than 11111100100 is 2047 − 32 + 4 = 2019.
Solution 2: Ordering any two digit sequences that constitute a positional
representation on different bases does not depend on the base. This means
that if a number is larger than another number on base 2 then the first
number is larger than the second number also on base 10. The number
23
11111100100 on base 2 equals 210 + 29 + 28 + 27 + 26 + 25 + 22 = 2020 on
base 10. Hence, to solve the problem, it suffices to count all positive integers
less than 2020. The result is obviously 2019.
O18 (Seniors.) Prove that a2020 + 10a1010 + 1001 is prime for no integers a.
Solution: Note that 1001 = 11 · 91. If 11 | a then also 11 | a2020 + 10a1010 +
1001. Otherwise, consider a5 modulo 11. A case study shows that if a is
congruent to 1, 3, 4, 5, or 9, then a5 is congruent to 1, and in all other cases, a5
is congruent to −1. Hence a10 ≡ 1 (mod 11) whenever 11 - a. This implies
101
that a1010 ≡ 1 (mod 11) and a2020 ≡ 1 (mod 11) because a1010 = a10
202
ja a2020 = a10 . Consequently, 10a1010 ≡ 10 (mod 11), implying that
a 2020 + 10a 1010 + 1001 ≡ 0 (mod 11). Thus a2020 + 10a1010 + 1001 cannot be
prime since obviously a2020 + 10a1010 + 1001 > 1001 > 11.
Remark: The fact a10 ≡ 1 (mod 11) directly follows from Fermat’s theorem.
O19 (Seniors.) There are n lists of candidates taking part in elections. Let
hi be the total number of votes given for the candidates of the ith list. There
are M seats in the representative assembly.
Anna proposes the following system for delivering mandates: For each list,
one computes a reference number vi = a h+i 1 where ai is the number of man-
i
dates already given to the ith list (initially ai = 0, i.e., the reference number
of each list equals its number of votes). On every step (M times in total),
one chooses the list with the greatest reference number (if several lists share
the first place, one of them is chosen randomly) and adds one mandate to
this list, after which the reference number of this list is recomputed.
Bert’s idea for delivering mandates is to multiply the number of votes of
every list by M/K where K = h1 + . . . + hn , whereby fractional results are
rounded downwards. As rounding may cause some seats to be undeliv-
ered, he proposes multiplying all numbers of votes of the lists by some
j β, kso that the number of mandates given to the ith list
suitable coefficient
βhi M
would be mi = K where m1 + . . . + mn = M.
Prove that if such coefficient β exists then Anna’s and Bert’s methods lead
to the same distribution of mandates.
Solution: Let the total number of mandates given to the ith list be mi in the
case of Bert’s method and mi0 in the case of Anna’s method. Suppose that
these methods result in different distribution of mandates. As the sum of
numbers of mandates must be the same, we must have mi0 > mi for some
i = 1, 2, . . . , n and m0j < m j for some j = 1, 2, . . . , n. As the numbers of
mandates are integers, we have mi0 > mi + 1 and m0j + 1 6 m j .
Consider the situation in the case of Anna’s method immediately after the
ith list having obtained its last mandate. Before obtaining the last mandate,
the ith list had mi0 − 1 mandates and reference number vi = (m0 −h1i )+1 = mhi0 ,
i i
24
while the jth list had at most m0j mandates, implying that a j 6 m0j and v j =
hj hj hi hj
a j +1 > m0j +1
. As the mandate was given to the ith list, mi0
> m0j +1
. Thus
hi mi0
hj > m0j +1
, implying that
hi m0 m +1
mj · > mj · 0 i > mj · i > mi + 1.
hj mj + 1 mj
On the other hand, from the specification of Bert’s method we know that
βh j M hi βh j M
hi hi βhi M βhi M
mj · = · 6 · = < + 1 = mi + 1.
hj hj K hj K K K
This inequation contradicts the previous inequation. Hence both methods
indeed lead to the same distribution of mandates.
Remark: The first method is called D’Hondt’s method after Victor D’Hondt,
a Belgian lawyer. The second method is called Jefferson’s method after the
president of the USA Thomas Jefferson.
O20 (Seniors.) The lines tangent to the circumcircle of triangle ABC at
points B and C intersect at point D. The circumcircle of triangle BCD inter-
sects the lines AB and AC the second time at points K and L, respectively.
Prove that the line AD bisects the line segment KL.
Solution 1: We prove that AKDL is a parallelogram; this implies the desired
claim since AD and KL are diagonals of this quadrilateral. We prove at first
that KD k AL. If K lies between A and B (Fig. 19) then by inscribed angles
∠ BAC = ∠ BCD and ∠ BCD = ∠ BKD. Consequently, ∠ BAL = ∠ BAC =
∠ BKD, implying KD k AL. If B lies between A and K (Fig. 20) then by in-
scribed angles ∠ BAC = ∠ BCD and ∠ BCD = 180◦ − ∠ BKD. Consequently,
∠ BAL + ∠ BKD = ∠ BAC + ∠ BKD = 180◦ , implying KD k AL. If A lies
between K and B (Fig. 21) then by inscribed angles ∠ BAC = 180◦ − ∠ BCD
and ∠ BCD = ∠ BKD. Consequently, ∠ BAL = 180◦ − ∠ BAC = ∠ BKD,
implying KD k AL again. Analogously, we can show that LD k AK. Alto-
gether, this establishes that AKDL is a parallelogram.
Solution 2: By inscribed angles, ∠ ABC = ∠ ALK, implying that the trian-
gles ABC and ALK are similar. Let the lines AD and KL intersect at point N
A D
A L K
C
A
B L B
K L K
C C
B
D D
Fig. 19 Fig. 20 Fig. 21
25
and let M be the midpoint of the side BC. It is known that the symmedian
line drawn through a vertex of a triangle and the lines tangent to the cir-
cumcircle of the triangle at the other two vertices meet in one point; hence
N is the point of intersection of the symmedian line drawn through ver-
tex A of the triangle ABC with line KL. By the definition of symmedian,
∠ BAM = ∠CAN = ∠ LAN, whence M and N are corresponding points in
similar triangles ABC and ALK. Thus N bisects the line segment KL.
Remark: The claim of the problem is true if the circumcircle of the triangle
BCD is replaced with any circle that passes through vertices B and C.
O21 (Seniors.) Let n be a positive integer. Find the largest
• •
number of knights that can be placed on a board of size n × n • •
in such a way that no two knights attack each other. A knight N
attacks precisely the squares that are located either horizon- • • • •
tally by one square and vertically by two squares away or
horizontally by two squares and vertically by one square away.
l 2m
Answer: n2 if n 6= 2; 4 if n = 2.
Solution:
l 2m Clearly one can place only 1 knight on an 1 × 1 board, which is
1
2 , and at most 4 knights on an 2 × 2 board. In the rest, assume n > 3.
If a set of unit squares is divided into pairs in such a way that a knight on
one square of any pair attacks the other square of that pair then there cannot
be more knights than half of the total number of unit squares in this set
without some knights attacking each other. In Figures 22, 23 and 24, all unit
squares of boards of size 2 × 4, 3 × 4 and 3 × 6 are divided into pairs whose
members are located at one knight move from each other. In Figures 25 and
26, all unit squares of boards of size 3 × 3 and 5 × 5 except the middle square
are divided into pairs whose members are located at one knight move from
each other. By the above, it is impossible to place knights to more than half
of unit squares of boards of size 2 × 4, 3 × 4 and 3 × 6. Taking into account
that an additional knight mayl mbe on the middle square, it also followslthat m
2 2
there cannot be more than 32 knights on a 3 × 3 board or more than 52
knights on a 5 × 5 board. As a 4 × 4 board can be formed from two 2 × 4
boards and a 6 × 6 board from two 3 × 6 boards, there cannot be more than
42 62
2 knights on a 4 × 4 board or more than 2 knights on a 6 × 6 board.
9 7 8
8 6 9 2 10 6 7 3
4 3 5 3 4 5 4 7 6 9 2 10 11
2 1 6 1 5 2 3 6 2 1 3 5 1 3 7
3 4 2 4 3 4 5 1 4 2 9 12 4 11 8
1 2 1 6 2 1 2 3 1 3 4 1 5 8 12 4
26
If n > 7 then an n × n board can be divided into pieces of size 4 × 4, r × 4
and r × r, where 3 6 r 6 6 and 4 | n − r. By the above, neither 4 × 4
nor r × 4 board can contain more knights than half of the number of unit
squares (5 × 4 and 6 × 4 are divisible into rectangles of size 2 × 4 and 3 × 4).
The same holds for an r × r piece, if the middle square in the case of odd l mr
2
is not taken into account. Thus for no n > 3 can one place more than n2
knights on an n × n board.
On the other hand, coloring the unit squares black and white chesswise, one
can place a knight on all squares of one and the same color since a knight
attacks only squares of the opposite color. The number of unit squares of a
2
fixed color is n2 if n is even. In the case of odd n, the number oflunit
m squares
2
whose color coincides with the color of the middle square is n2 . Hence
l 2m
one can place n2 pairwise non-attacking knights on an n × n board.
11 9
6 3 5 12
1 8 10 7
4 2
Fig. 27
F2 (Grade 9.) Let D be the foot of the altitude drawn to the hypotenuse
AB of a right triangle ABC. The inradii of the triangles ABC, CAD and
CBD are r, r1 and r2 , respectively. Prove that CD = r + r1 + r2 .
Solution 1: Let a = | BC |, b = |CA|, c = | AB| and h = |CD |; then ab = ch =
( a + b + c)r.
27
C
A D B
Fig. 28
Note that the triangles ABC, ACD and CBD are similar by two equal angles
(Fig. 28). As the similarity ratio of triangles ACD and ABC is bc and that of
triangles CBD and ABC is ac , we have r1 = bc · r and r2 = ac · r, whence
r + r1 + r2 = a+bc +c · r. As the equality ab = ( a + b + c)r implies r = a+ab
b+c ,
we obtain r + r1 + r2 = ab c . On the other hand, the equality ab = ch implies
h = abc . Consequently, r + r1 + r2 = h.
Solution 2: Let the incenters of the triangles ABC, ACD and BCD be I, I1 and
I2 . Let the points of tangency of the incircle of the triangle ABC with sides
BC, CA and AB be K, L and M, respectively; let the points of tangency of the
incircle of the triangle ACD with sides DC, CA and AD be K1 , L1 and M1 ,
respectively; let the points of tangency of the incircle of the triangle BCD
with sides DC, CB and BD be K2 , L2 and M2 , respectively (Fig. 29). As a
tangent line is perpendicular to the radius drawn to the point of tangency,
we have ∠ IKC = 90◦ = ∠ ILC. Thus IKCL is a square by three right angles
and the equality IK = IL. Hence CK = CL = r. Similarly we see that
C
K
L L2
L1 I
K1 K2 I2
I1
A M1 D M M2 B
Fig. 29
28
I1 K1 DM1 and I2 K2 DM2 are squares, whereby DK1 = DM1 = r1 ja DK2 =
DM2 = r2 . By property of tangent line segments, we have CK1 = CL1 ,
AL = AM and AL1 = AM1 , whence
CD = CK1 + K1 D = CL1 + r1 = CL + LL1 + r1
= r + AL − AL1 + r1 = r + AM − AM1 + r1 = r + MM1 + r1 .
By symmetry, we also get CD = r + MM2 + r2 . After adding up these two
equalities and taking into account that MM1 + MM2 = DM1 + DM2 =
r1 + r2 , we obtain
2CD = 2(r + r1 + r2 ).
Consequently, CD = r + r1 + r2 .
F3 (Grade 9.) Players A, B and C are playing the following game. Ini-
tially, the number 1 is written on a blackboard. On their move, each player
replaces the number n currently on the blackboard with either n + 1, 7n + 7,
or 4n3 + 3n + 4 at their own choice, under the condition that the new num-
ber must not be larger than 109 . The player A makes the first move, then
B takes turn, then C, after him A again etc., until some player cannot make
a legal move. The player who makes the last move wins. Can any of the
players win the game against every legal play by the opponents and if yes
then who?
Answer: Yes, C.
Solution: The game lasts while the number on the blackboard stays less
than 109 , because it is possible to make a move of the first kind (replace n
with n + 1). As the number on the blackboard is increased by at least 1 by
every move, it cannot stay less than 109 infinitely. When the number on the
blackboard equals 109 , there is no legal move. As numbers larger than 109
cannot appear on the blackboard, the last move is made by the player who
writes the number 109 on the blackboard.
Let a number n be written on the blackboard. Note that 7n + 7 ≡ n + 1
(mod 3) and 4n3 + 3n + 4 ≡ n3 + 1 ≡ n + 1 (mod 3). Hence all numbers
that can appear on the blackboard on the next move are congruent to n + 1
modulo 3, whence the residues repeat in cycle 1, 2, 0, 1, 2, 0, . . .. As 109 ≡ 1
(mod 3), the number 109 is written by the third player C.
Remark: The solution shows that C can win with whatever strategy.
F4 (Grade 10.) Let a, b, c, d be positive real numbers satistfying the sys-
tem of equations
a2 + 12 = 12 ,
b
b2 + 4 = 8,
c2
c2 + 16
d2
= 2,
d + a42 = 32.
2
29
Solution 1: Multiplying all equations gives
2 1 2 4 2 16 4
a + 2 b + 2 c + 2 d + 2 = 28 .
2
b c d a
By AM-GM, a2 + b12 > 2 · ba , where the equality holds if and only if a = 1b .
Similarly b2 + c42 > 4 · bc (equality if and only if b = 2c ), c2 + 16d2
> 8 · dc
4 2 4 d
(equality if and only if c = d ) and d + a2 > 4 · a (equality if and only if
d = 2a ). Multiplying the obtained four inequalities gives
2 1 2 4 2 16 4 a b c d
a + 2 b + 2 c + 2 d + 2 > 2 · · 4 · · 8 · · 4 · = 28 .
2
b c d a b c d a
The resulting inequality must hold as equality by the first step of the solu-
tion. This is possible only if all four inequalities hold as equalities, whence
a = 1b ,
b = 2,
c
4
c = d,
2
d = a.
16
By multiplying the equations of this system, we get abcd = abcd , whence
( abcd)2 = 16. As a, b, c and d are positive, the only possibility is abcd = 4.
Solution 2: By introducing a = 2x , b = 2y, c = z, d = 4t, rewrite the system
as x2
4 + 4y12 = 12 ,
4y2 + z42 = 8,
16
z2 + 16t 2 = 2,
4·4
2
16t + x2 = 32.
Multiplying the first equation by 4, the second equation by 14 , and the fourth
1
equation by 16 , we obtain an equivalent system
x2 + y12 = 2,
y + z12 = 2,
2
z2 + t12 = 2,
t + x12 = 2.
2
30
1
t2 + t2
> 2, we get
1 1 1 1
x2 + 2
+ y2 + 2 + z2 + 2 + t2 + 2 > 8.
x y z t
This inequality must hold as equality by the above; hence all four previous
inequalities must hold as equalities, too, i.e., x2 = y2 = z2 = t2 = 1. As
the numbers are positive, the only possibility is x = y = z = t = 1. Hence
abcd = 2x · 2y · z · 4t = 4xyzt = 4.
Remark: This problem can also be solved by finding the values of a, b, c,
d using standard techniques (substituting variables from one equation to
another) and directly computing abcd.
F5 (Grade 10.) Find all positive integers k for which there√is a right trian-
gle with legs of integral lengths and hypotenuse of length 88 . . . 822 . . . 2,
where the number under the root consists of exactly k eights and exactly k
twos.
Answer: 1.
Solution 1: Let the lengths of legs be a and b. By the Pythagorean theorem,
a2 + b2 = 88 . . . 822 . . . 2.
If k = 1 then one can choose a = 9 and b = 1 as 92 + 12 = 82. If k > 2 then
88 . . . 822 . . . 2 ≡ 6 (mod 8) since 822 ≡ 6 (mod 8) and 222 ≡ 6 (mod 8).
On the other hand, the residues of a2 and b2 modulo 8 can be 0, 1, or 4.
However, the sum of such two numbers can have residue 0, 1, 2, 4, or 5
modulo 8. Consequently, a2 + b2 = 88 . . . 822 . . . 2 cannot hold for k > 2.
Solution 2: Let the lengths of legs be a and b. By the Pythagorean theorem,
a2 + b2 = 88 . . . 822 . . . 2.
If k = 1 then one can choose a = 9 and b = 1 as 92 + 12 = 82. Assume
in the rest that k > 2. It is known that a positive integer is expressible as
the sum of two squares of integers if and only if its canonical representa-
tion contains primes congruent to 3 modulo 4 only with even exponents.
Note that 88 . . . 822 . . . 2 = 2 · 44 . . . 411 . . . 1, where only the odd second
factor can be divisible by primes congruent to 3 modulo 4. If all such
primes would occur with even exponents in the canonical representation
of 44 . . . 411 . . . 1, this number itself would be congruent to 1 modulo 4, but
actually 44 . . . 411 . . . 1 ≡ 3 (mod 4). This shows that right triangles with
the required property cannot exist in the case k > 2.
F6 (Grade 10.) Let D and E be the midpoints of sides AB and AC, re-
spectively, of a triangle ABC. Prove that the line AB is tangent to the cir-
cumcircle of the triangle BEC if and only if the line AC is tangent to the
circumcircle of the triangle BED.
Solution 1: The conditions of the problem imply that DE is the midsegment
parallel to the side BC of the triangle ABC (Fig. 30). By properties of in-
scribed angle, the line AB is tangent to the circumcircle of the triangle BEC
31
A
D
E
B
C
Fig. 30
if and only if ∠ECB = ∠ DBE, and the line AC is tangent to the circumcircle
of the triangle BED if and only if ∠ DBE = ∠ AED. But ∠ECB = ∠ AED
since the lines DE and BC are parallel, whence validity of either of these
two equalities implies validity of the other one.
Solution 2: By powers, the line AB is tangent to the circumcircle of the tri-
angle BEC if and only if AB2 = AE · AC, and the line AC is tangent to
the circumcircle of the triangle BED if and only if AE2 = AD · AB. As
AB = 2AD and AC = 2AE, the equality AB2 = AE · AC is equivalent to
the equality 2| AD |2 = | AE|2 , as well as the equality AE2 = AD · AB is
equivalent to the equality AE2 = 2AD2 . Hence both conditions reduce to
the same equality, which solves the problem.
F7 (Grade 10.) Natural numbers 1 through n are written on a black-
board. On each move, one erases from the blackboard 2 or more numbers
whose sum is divisible by any of the chosen numbers and writes their sum
on the blackboard. Two players make moves by turns and the player who
cannot move loses the game. Which player can win the game against any
play by the opponent, if:
(a) n = 6;
(b) n = 11?
Answer: (a) The first player; (b) The first player.
Solution:
(a) The first player can replace numbers 1, 2, 3, 6 with 12. After that,
the blackboard contains numbers 4, 5, 12. In this state, the sum of no two
or three numbers on the blackboard is divisible by all the added numbers.
Thus the second player cannot move and the first player wins immediately.
(b) The first player can replace numbers 1, 2, 3, 4, 6, 8 with 24. After
that, the blackboard contains numbers 5, 7, 9, 10, 11, 24, which sum up
to 66. Among numbers 7, 9, 10, 11, 24, the l.c.m. of any two numbers is
greater than 66. Thus when choosing two or more numbers from among
the mentioned numbers, and perhaps also the number 5, the sum of the
chosen numbers is less than their l.c.m. and cannot be divisible by all of
them. Also when choosing one of the mentioned numbers together with 5,
the sum of the chosen numbers is not divisible by the larger one. Hence the
32
second player cannot move and the first player wins immediately.
F8 (Grade 11.) Prove that
1
sin 10◦ · cos 20◦ · sin 30◦ · cos 40◦ · sin 50◦ · cos 60◦ · sin 70◦ · cos 80◦ =
.
256
Solution 1: As sin 10◦ = cos 80◦ , sin 30◦ = cos 60◦ , sin 50◦ = cos 40◦ , and
sin 70◦ = cos 20◦ , the desired equality is equivalent to
1
(cos 20◦ · cos 40◦ · cos 60◦ · cos 80◦ )2 = .
256
It is known that cos 60◦ = 12 . Concerning the other factors, we obtain
8 sin 20◦ cos 20◦ ·cos 40◦ ·cos 80◦
cos 20◦ · cos 40◦ · cos 80◦ = 8 sin 20◦
4 sin 40◦ cos 40◦ ·cos 80◦
= 8 sin 20◦
2 sin 80◦ cos 80◦
= 8 sin 20◦
sin 160◦ sin 20◦ 1
= 8 sin 20◦ = 8 sin 20◦ = 8 .
Consequently,
2 2
1 1 1 1
(cos 20◦ · cos 40◦ · cos 60◦ · cos 80◦ )2 = · = = .
2 8 16 256
Solution 2: As sin 10◦ = cos 80◦ , sin 30◦ = cos 60◦ , sin 50◦ = cos 40◦ , and
sin 70◦ = cos 20◦ , the l.h.s. of the desired equality can be rewritten as
(cos 20◦ cos 40◦ cos 60◦ cos 80◦ )2 . Hence the desired equality is equivalent
to
1
cos 20◦ cos 40◦ cos 60◦ cos 80◦ = . (2)
√ 16
As cos 60◦ = 21 and sin 60◦ = 23 , we have
cos 40◦ cos 80◦
= cos (60◦ − 20◦ ) cos (60◦ + 20◦ )
= (cos 60◦ cos 20◦ + sin 60◦ sin 20◦ ) (cos 60◦ cos 20◦ − sin 60◦ sin 20◦ )
= cos2 60◦ cos2 20◦ − sin2 60◦ sin2 20◦
= 14 cos2 20◦ − 34 sin2 20◦ = 14 cos2 20◦ − 3 sin2 20◦ .
Thus
1 3 ◦
cos 20◦ cos 40◦ cos 60◦ cos 80◦ = cos 20 − 3 sin2 20◦ cos 20◦ . (3)
8
By applying the formula cos 3x = cos3 x − 3 sin2 x cos x to x = 20◦ , we get
cos3 20◦ − 3 sin2 20◦ cos 20◦ = cos 60◦ = 21 . Consequently, (3) reduces to (2),
completing the solution of the problem.
F9 (Grade 11.) The bisector of the internal angle on vertex A of a triangle
ABC intersects the side BC at point D. The line tangent to the circumcircle
of the triangle ABC at point A intersects the line BC at point K. Prove that
KA = KD.
33
A
A
Q
K B M
K C
B D
C O
D
X
Fig. 31 Fig. 32
Solution 1: Assume w.l.o.g. that ∠ ABC > ∠ ACB (Fig. 31; otherwise change
the roles of points B and C). Note that
∠ ADK = 180◦ − ∠CDA = ∠ DAC + ∠ ACD = ∠ BAD + ∠ ACB.
By inscribed angle property, ∠KAB = ∠ ACB, whence
∠ BAD + ∠ ACB = ∠ BAD + ∠KAB = ∠KAD.
Consequently, ∠ ADK = ∠KAD, which implies KA = KD.
Solution 2: Let O be the circumcenter of the triangle ABC, M be the mid-
point of the side BC, and X be the point of intersection of the ray OM with
the circumcircle of the triangle ABC. Moreover, let Q be the point of in-
tersection of the line perpendicular to the side BC and passing through
point D with the line AO (Fig. 32). As OM is the perpendicular bisector
of the side BC, point X bisects the arc BC of the circumcircle of the triangle
ABC, whence the line AD also passes through X. As OA = OX, we have
∠XAO = ∠OXA. On the other hand, OX ⊥ BC and QD ⊥ BC together
imply OX k QD, whence ∠OXA = ∠QDA. Thus ∠ DAQ = ∠XAO =
∠QDA, implying AQ = QD. Consequently, there exists a circle with cen-
ter Q passing through both points A and D. As KA ⊥ AQ and KD ⊥ DQ,
the lines KA and KD are tangent to this circle. By the property of tangent
line segments, KA = KD.
F10 (Grade 11.) Prove that in every solved sudoku X X XX
the squares marked “X” in the figure contain precisely X X XX
YYYYY
the same digits as the squares marked “Y”, counting Y Y
repetitions. (For instance, if the squares marked “X” Y Y
contain three digits 3 in total then the squares marked Y Y
YYYYY
“Y” also contain three digits 3 in total.) XX XX
XX XX
umn and every part of size 3 × 3 bounded by bold rules, each of these digits
occurs exactly 4 times in the squares colored in Figures 33 and 34, if digits
in green squares are counted twice.
Removing from both (multi)sets of digits those digits that occur in squares
colored in Figure 35, we obtain precisely the sets of digits that occur in
squares marked “X” and “Y”, respectively. Thus these sets must also equal.
F11 (Grade 11.) Every term of the sequence a1 , a2 , a3 , . . . is either 0 or 1.
It is known that both 0 and 1 occur at least 1010 times among every 2021
consecutive terms of the sequence. May one be sure that the sequence is
periodic from some place on, i.e., there exist positive integers n and p such
that an+i = an+i+ p for every natural number i?
Answer: No.
Solution: Consider the tuples 11 . . . 1} 00
| {z . . . 0} and 11
| {z . . . 1} 00
| {z . . . 0} . Concate-
| {z
1011 times 1010 times 1010 times 1011 times
nating infinitely many instances of these tuples in any order produces a
sequence that satisfies the conditions of the problem. Indeed, consider any
segment of 2021 consecutive terms of such sequence. As any two consec-
utive full blocks of zeros or ones contain at least 2020 terms in total, the
segment under consideration contains terms of at most three such blocks.
If it contains terms of three blocks then it contains the middle block fully.
If the segment contained only two partial blocks of zeros or ones, it could
contain at most 2020 terms in total. Hence the segment under consideration
must contain one full block even if it contains only terms of two consecu-
tive blocks. In any case, the digit of the full block occurs either 1010 or 1011
times and the other digit must occur either 1011 or 1010 times, respectively.
Combining the tuples defined at the beginning of the solution according
to some non-periodic pattern (e.g., xyxxyxxxyxxxxy . . . ), the resulting se-
quence is not periodic from any place on. Indeed, suppose the contrary; let
the length of the period be p. We can find a pattern of length lcm( p, 2021)
starting from the place where periodicity starts, containing the tuples de-
fined at the beginning of the solution a full number of times. But the middle
term of these tuples is not repeating periodically, implying that the entire
pattern also cannot be periodic. Consequently, there exist non-periodic se-
quences that satisfy the conditions of the problem.
35
F12 (Grade 12.) Find all pairs ( a, b) of positive integers such that a > b
and
1 1 1
+ = .
a b 2021
Answer: (2021 · 2022, 2022), (2021 · 48, 43 · 48), (2021 · 44, 47 · 44), (2021 ·
2, 2021 · 2), (47 · 90, 43 · 90).
Solution 1: Let d = gcd( a, b), a = da0 , b = db0 . The given equation reduces
to da1 0 + db1 0 = 2021
1
which is equivalent to
2021( a0 + b0 ) = da0 b0 . (4)
As a0 and b0are relatively prime to each other, they both are relatively prime
to a0 + b0 , implying that a0 b0 and a0 + b0 are relatively prime. By (4), a0 b0 |
2021( a0 + b0 ), implying a0 b0 | 2021. As 2021 = 43 · 47 where the factors are
prime, the number 2021 has exactly four positive factors 1, 43, 47 and 2021.
Taking into account that a > b holds if and only if a0 > b0 , consider all cases:
• If a0 = 2021 and b0 = 1 then (4) implies d = 2022. Consequently,
( a, b) = (2021 · 2022, 2022).
• If a0 = 47 and b0 = 43 then (4) implies d = 90. Consequently, ( a, b) =
(47 · 90, 43 · 90).
• If a0 = 47 and b0 = 1 then (4) implies d = 43 · 48. Consequently,
( a, b) = (2021 · 48, 43 · 48).
• If a0 = 43 and b0 = 1 then (4) implies d = 47 · 44. Consequently,
( a, b) = (2021 · 44, 47 · 44).
• If a0 = 1 and b0 = 1 then (4) implies d = 2021 · 2. Thus ( a, b) =
(2021 · 2, 2021 · 2).
Solution 2: The given equation is equivalent to aab +b = 1 which reduces to
2021
ab − 2021a − 2021b = 0. After adding 20212 to both sides and factorizing in
the l.h.s, we get
( a − 2021)(b − 2021) = 20212 . (5)
As both a and b are positive, the factors in the l.h.s. of (5) are greater than
−2021. Thus if both factors were negative then the absolute value of their
product would be less than 20212 and (5) could not hold. Hence both fac-
tors are positive. Since a > b, we must have a − 2021 > b − 2021. As
2021 = 43 · 47 with factors being prime, we obtain variants ( a − 2021, b −
2021) = (20212 , 1), ( a − 2021, b − 2021) = (2021 · 47, 43), ( a − 2021, b −
2021) = (2021 · 43, 47), ( a − 2021, b − 2021) = (472 , 432 ) and ( a − 2021, b −
2021) = (2021, 2021). Consequently, ( a, b) = (2021 · 2022, 2022), ( a, b) =
(2021 · 48, 43 · 48), ( a, b) = (2021 · 44, 47 · 44), ( a, b) = (47 · 90, 43 · 90), or
( a, b) = (2021 · 2, 2021 · 2).
F13 (Grade 12.) Anna, Anne and Anni seek for real solutions ( x, y) to the
36
system of equations
4x3 y − x4 − 3x2 y2 = 2021,
D
A D′
C
Fig. 36
37
B
B
D
A D′
O
A A′
D D′
C C
Fig. 37 Fig. 38
38
Fig. 39 Fig. 40
chosen line. This implies that the number of pairs under consideration does
not exceed 6 · 2, i.e., 12. Altogether, we have established 3n 6 12, which
implies n 6 4.
A configuration with 4 rich points can be obtained by choosing 6 lines de-
termined by the 6 edges of a tetrahedron; those lines intersect at 4 vertices
of the tetrahedron, 3 in each one (Figure 39).
Solution 2: Call a point rich if at least 3 chosen lines intersect there. Let the
number of rich points be n. We count pairs ( P, p) where P is a rich point
and p is a pair of distinct chosen lines both passing through P (the order
of lines in the pair is irrelevant). The number of such pairs is at most 15
since C62 = 15 and every two lines intersect in at most one rich point. On
the other hand, the number of these pairs must be at least 3n, as at least 3
chosen lines intersect at every rich point and these give rise to C32 = 3 pairs.
Consequently, 3n 6 15 which implies n 6 5. In the case n = 5, all inequali-
ties in the argument above should hold as equalities, i.e., every two chosen
lines intersect in a rich point and in every rich point exactly 3 chosen lines
intersect. Thus every chosen line must intersect at rich points with exactly 5
chosen lines whereby at every rich point with exactly 2 of them, which is
impossible as 5 is not divisible by 2. Consequently, n 6 4.
To find a configuration with 4 rich points, choose arbitrarily 4 points, no 3 of
which lie on one line. Pairs of these points determine 6 distinct lines. Every
chosen point belongs to 3 distinct pairs, whence 3 such lines pass through
every chosen point (in Fig. 40, rich points are marked with bubbles).
Solution 3: Call a point rich if at least 3 chosen lines intersect there. As in
Solution 1 or Solution 2, we show that 4 rich points is possible. To prove
that there can be no more rich points, let n be the number of rich points in
a configuration that satisfies the conditions of the problem with the largest
possible number of rich points; by the above, we may assume that n > 4.
Consider arbitrary two distinct rich points in this configuration and let A
and B be the corresponding sets of chosen lines that meet in these points.
39
The sets A and B cannot have two or more common members as two lines
cannot intersect in two distinct points. Suppose that the sets A and B are
disjoint. As both A and B contain at least 3 chosen lines and the total num-
ber of chosen lines is 6, every chosen line must belong to either A or B.
Let C be the set of chosen lines intersecting in a third rich point. As the
set C contains at least 3 lines and each of them belongs to either A or B, at
least 2 lines of the set C belong to one of A and B. But then C would have 2
common members with this set which we saw is impossible. Consequently,
every two rich points are connected with a chosen line. As 3 rich points
cannot lie on one line since this would require 3 · 2 + 1 = 7 chosen lines,
lines that connect different pairs of rich points are distinct. Thus there must
be at least Cn2 chosen lines, i.e., Cn2 6 6. Consequently, n 6 4.
F16 (Grade 12.) Two regular polygons have a common circumcircle. The
sum of the areas of the incircles of these polygons equals the area of their
common circumcircle. Find all possibilities of how many vertices can the
two polygons have.
Answer: 3 and 6 or 4 and 4.
Solution: The ratio of the inradius and the circumradius of a regular n-gon
◦
is cos 180
n . Hence the ratio of the areas of the incircle and the circumcircle
◦
of a regular n-gon is cos2 180
n .
Let a regular n-gon and a regular m-gon with a common circumcircle be
given. W.l.o.g., let n 6 m and the area of the common circumcircle be 1.
◦
By the above, the areas of the incircles of these polygons are cos2 180n and
◦
cos2 180
m , respectively. As their sum must equal the area of the common cir-
◦ 2 180◦ = 1 which is equivalent
cumcircle, we get the equation cos2 180
n + cos m
◦ 2 180◦ 180◦
to cos2 180n = sin m . As both n and m are larger than 2, both n and
180 ◦ ◦ 180 ◦ 180◦
m are less than 90 , whence the equation reduces to cos n = sin m .
◦ 180◦ ◦
Thus 180 1 1 1
n + m = 90 , implying that n + m = 2 . If n = 3 then m = 6; if
n = 4 then m = 4; if n > 4 then m < 4, contradicting the assumption n 6 m.
41
2021) and the form P( x ) = 2022 − x + R( x )( x − 1)( x − 2) . . . ( x − 2021),
where R( x ) is an arbitrary polynomial with integral coefficients.
Solution: Since P( x ) has integral coefficients, it satisfies
a − b | P( a) − P(b) (7)
for arbitrary integers a and b. By substituting a = 2021 and b = 1 into (7),
we get 2020 | P(2021) − P(1). As P(1), . . . , P(2021) must be 2021 distict
numbers, P(1) and P(2021) cannot be equal, whence their difference must
be at least 2020. The only possibility is P(1) and P(2021) being 1 and 2021
in some order. Consider these two cases separately.
• If P(1) = 1 and P(2021) = 2021 then substituting a = 2020 and
b = 1 into (7) gives 2019 | P(2020) − 1 that can be satisfied only if
P(2020) = 2020. Similarly by substituting a = k and b = 1 into (7) for
k = 2019, 2018, . . . , 2, we each time get P(k) = k as the only possibil-
ity, since all larger values of the polynomial that could satisfy k − 1 |
P(k) − 1 are in use already. Hence P( x ) = x for every x = 1, . . . , 2021.
As 1, . . . , 2021 are roots of the polynomial P( x ) − x, we must have
P( x ) − x = ( x − 1) . . . ( x − 2021) R( x ), where R( x ) can be any poly-
nomial with integral coefficients. From here, we obtain solutions of
the form P( x ) = x + R( x )( x − 1)( x − 2) . . . ( x − 2021).
• If P(1) = 2021 and P(2021) = 1 then by substituting a = k and b =
2021 into (7) for k = 2, . . . , 2020, we each time get 2021 − k | P(k ) − 1
that can be satisfied only if P(k) = 2022 − k analogously to the pre-
vious case. Hence P( x ) = 2022 − x for every x = 1, . . . , 2021. As
1, . . . , 2021 are roots of the polynomial P( x ) − (2022 − x ), we must
have P( x ) − (2022 − x ) = ( x − 1) . . . ( x − 2021) R( x ), where R( x ) is
any polynomial with integral coefficients. This leads to solutions of
the form P( x ) = 2022 − x + R( x )( x − 1)( x − 2) . . . ( x − 2021).
Both families of solutions meet the required conditions: P(1), . . . , P(2021)
are 1, . . . , 2021, respectively, in the first case and 2021, . . . , 1, respectively, in
the second case.
S3 (a) There are 2n rays marked in a plane, with n being a natural
number. Given that no two marked rays have the same direction and no
two marked rays have a common initial point, prove that there exists a
line that passes through none of the initial points of the marked rays and
intersects with exactly n marked rays.
(b) Would the claim still hold if the assumption that no two marked rays
have a common initial point was dropped?
Answer: (b) Yes.
Solution: Consider any circle such that all of the endpoints of the marked
rays are inside the circle. Choose a tangent line of the circle that is not par-
allel to any of the marked rays. Let this tangent line be l0 and let lα be the
tangent line we get by rotating l0 counterclockwise by angle α w.r.t. the
42
center of the circle. For any α, let f (α) be the number of marked rays that
intersect with lα . Since l0 and lπ are two parallel lines and all of the end-
points of the marked rays are between them, we know from the definition
of l0 that f (0) + f (π ) = 2n. W.l.o.g., let f (0) 6 n and f (π ) > n. Because no
two rays have the same direction, when α increases continuously f (α) can
at any time instance only change by at most one. Thus f (α) ranges over all
integral values between f (0) and f (π ). Hence f (α) = n for some α.
The argument above does not use the assumption that the initial points of
the marked rays are distinct, whence it solves both parts of the problem.
Remark: Part a) of the problem can be solved otherwise. Choose an arbitrary
line l that is not parallel to any of the marked rays or any line connecting
the initial points of two marked rays and from which the initial points of
all marked rays lie on one side. Let l 0 be a line parallel to l such that the
initial points of all marked rays lie between l and l 0 . Then every marked
ray intersects exactly one of the lines l and l 0 , whence the numbers of the
intersection points always sum up to exactly 2n. W.l.o.g., let the number
of intersection points on the line l be less than or equal to the number of
intersection points on the line l 0 . When shifting the line l towards the line l 0
while keeping its direction unchanged, the number of intersection points
on it can change by at most one at any time instance. Thus there exists a
position where the number of intersection points equals n.
S4 Positive real numbers a, b, c satisfy abc = 1. Prove that
a b c 3
+ + > .
1+b 1+c 1+a 2
Solution 1: The given inequality is equivalent to
2a(1 + c)(1 + a) + 2b(1 + a)(1 + b) + 2c(1 + b)(1 + c) > 3(1+a)(1+b)(1+c).
By removing parentheses and collecting similar terms, it is reduced to
2a2 + 2b2 + 2c2 + 2a2 c + 2b2 a + 2c2 b > 3 + a + b + c + ab + bc + ca + 3abc. (8)
Using AM-GM, we can make the following observations:
2 2 2 c2 √ √ √
c2 + a2
a2 + b2 + c2 = a +2 b + b +2 + 2 > a2 b2 + b2 c2 + c2 a2 = ab + bc + ca;
a2 + a2 + a2 + a2 + b2 + c2 b2 + b2 + b2 + b2 + c2 + a2 c2 + c2 + c2 + c2 + a2 + b2
a2 + b2 + c2 = 6 + 6 + 6
√
6
√
6
√
6 4 1 1 4 1 1 4 1 1
> a8 b2 c2 + b8 c2 a2 + c8 a2 b2 = a 3 b 3 c 3 + b 3 c 3 a 3 + c 3 a 3 b 3
1
= ( abc) 3 ( a + b + c);
√
a2 c + b2 a + c2 b 3
a2 c + b2 a + c2 b = 3 · 3 > 3 a3 b3 c3 = 3abc.
Taking into account that abc = 1, we obtain
2a2 + 2b2 + 2c2 + 2a2 c + 2b2 a + 2c 2b
= a2 + b2 + c2 + a2 + b2 + c2 + a2 c + b2 a + c2 b + a2 c + b2 a + c2 b
1
> ( ab + bc + ca) + ( abc) 3 ( a + b + c) + 3abc + 3abc
= 3 + a + b + c + ab + bc + ca + 3abc.
43
This proves (8), whence the desired result follows.
Remark: Instead of the second out of the three observations made in So-
lution 1, one can prove the inequality a2 + b2 + c2 > a + b + c using the
assumption abc = 1 as follows: Apply AM-GM 2 2 2
√ qto obtain a + b + c =
2 2 2 3 2 2 2
3 · a +b3 +c > 3 a2 b2 c2 = 3 and AM-HM to get a +b3 +c > a+3b+c ; then
q q
a2 + b2 + c2 = ( a2 + b2 + c2 ) ( a2 + b2 + c2 ) > 3 ( a2 + b2 + c2 ) > a + b + c.
The rest is analogous to Solution 1.
a2 2 2
Solution 2: The given inequality is equivalent to a(1+b)
+ b(1b+c) + c(1c+a) > 32 .
Applying the so-called Titu’s lemma to ( a, b, c) and a(11+b) , b(11+c) , c(11+a)
2 2 2 ( a + b + c )2 ( a + b + c )2
gives a(1a+b) + b(1b+c) + c(1c+ a) > a(1+b)+b(1+c)+c(1+ a) = (a+b+c)+(ab+bc+ca) .
( a + b + c )2
Hence it suffices to prove the inequality (a+b+c)+(ab+bc+ca) > 32 ; we prove
the equivalent inequality a+1b+c + ab +bc+ca 6 2 . By AM-GM, a + b + c >
( a + b + c )2 3
√3 1 1
3 abc = 3, implying a+b+c 6 3 . Hence it suffices to prove the inequality
ab+bc+ca
( a + b + c )2
6 13 . By removing parentheses and collecting similar terms, the
latter reduces to a2 + b2 + c2 > ab + bc + ca, which can be established by
applying AM-GM repeatedly (similarly to Solution 1).
S5 Find all polynomials P( x, y) with real coefficients which for all real
numbers x and y satisfy P( x + y, x − y) = 2P( x, y).
Answer: P( x, y) = ( a + b) x2 + axy + by2 , where a, b are any real numbers.
Solution: By the given equality,
P(2x,2y) = P(( x+y)+( x−y),( x+y)−( x−y)) = 2P( x+y,x−y) = 4P( x,y). (9)
As (9) holds for arbitrary real numbers x and y, we can consider it as an
equality of polynomials. Hence the corresponding coefficients are equal.
Let i and j be arbitrary non-negative integers. The coefficient of xi y j in
the l.h.s. of (9) is ai,j 2i 2 j or, equivalently, 2i+ j ai,j , whereas the coefficient of
the xi y j in the r.h.s. of (9) is 4ai,j . Hence 2i+ j ai,j = 4ai,j or, equivalently,
2i+ j − 4 ai,j = 0, which provides us two possibilities: either i + j = 2 or
44