Saudi Booklet 2021
Saudi Booklet 2021
1
2
éK
XñªË@ éJ
K. QªË@ éºÊÒÒÊË
®K . AÓ
QË@ HA
AK
HAJ
SAUDI ARABIAN
MATHEMATICAL COMPETITIONS 2021
Visitor Trainers
Smbat Goryan, Albert Gevorgyan (Armenia),
Mikhail Karpuk (Belarus), Dominik Burek (Poland),
Nikola Petrovic, Dusan Dukic, Marko Radovanovic (Serbia),
Dmytro Nomirovski (Ukraine), Le Phuc Lu (Vietnam).
Abdulaziz Al-Harthi
This booklet contains the Team Selection Tests of the Saudi teams to the, Balkan
Junior Mathematics Olympiad, and the International Mathematics Olympiad.
The training was supported by the Ministry of Education, which commissioned
Mawhiba, the main establishment in Saudi Arabia that cares for the gifted students,
to do the task. We would like to express our gratitude to King Abdullah University
of Science and Technology KAUST for making its facilities on its beautiful campus
available to us for our training, even during the current pandemic.
The Saudi team had three main training camps during the academic year 2020-2021.
In addition, the team had an intensive training period from March to the end of
June 2021.
During this academic year, the selected students participated in the following con-
tests: The Asia Pacific Mathematics Olympiad, the European Girls Mathematics
Olympiad , and the Junior Balkan mathematics Olympiad. The contests were all
held online.
It is our pleasure to share the selection tests problems with other IMO teams, hoping
it will contribute to future cooperation.
6
7
ﻣﻘﺪﻣﺔ
ﯾﺤﻮي ھﺬا اﻟﻜﺘﯿﺐ ﻋﻠﻰ ﻣﺴﺎﺋﻞ اﻟﺘﺼﻔﯿﺎت ﻟﻤﺴﺎﺑﻘﺔ اﻟﺒﻠﻘﺎن و ﻣﺴﺎﺑﻘﺔ اﻟﺒﻠﻘﺎن ﻟﻠﻨﺎﺷﺌﯿﻦ و ﺗﺼﻔﯿﺎت اﻻوﻟﻤﺒﯿﺎد
اﻟﺪوﻟﻲ ﻟﻠﺮﯾﺎﺿﯿﺎت .۲۰۱۹
ان ﺗﺪرﯾﺐ اﻟﻔﺮﯾﻖ ﻛﺎن ﺑﺪﻋﻢ ﻣﻦ وزارة اﻟﺘﻌﻠﯿﻢ ﺑﺎﻟﺘﻌﺎون ﻣﻊ ﻣﺆﺳﺴﺔ اﻟﻤﻠﻚ ﻋﺒﺪ اﻟﻌﺰﯾﺰ و رﺟﺎﻟﮫ ﻟﻠﻤﻮھﺒﺔ و
اﻻﺑﺪاع " ﻣﻮھﺒﺔ "
وﺗﺠﺪر اﻻﺷﺎرة اﻟﻰ اﻟﺘﻌﺎون و اﻻﺳﮭﺎم اﻟﻔﻌّﺎل ﻣﻦ ﺟﺎﻣﻌﺔ اﻟﻤﻠﻚ ﻋﺒﺪﷲ ﻟﻠﻌﻠﻮم و اﻟﺘﻘﻨﯿﺔ ،ﺣﯿﺚ وﻓﺮت ﻟﻨﺎ ﻛﻞ
اﻻﻣﻜﺎﻧﺎت اﻟﺘﻲ اﺣﺘﺠﻨﺎ ﻟﮭﺎ ﻓﻲ اﻟﺘﺪرﯾﺐ ﻓﻲ ﺣﺮﻣﮭﺎ اﻟﺠﺎﻣﻌﻲ اﻟﺠﻤﯿﻞ.
ﺗﻢ ﻋﻘﺪ ﺛﻼﺛﺔ ﻣﻠﺘﻘﯿﺎت ﺗﺪرﯾﺒﯿﺔ ﺧﻼل اﻟﻌﺎم اﻟﺪراﺳﻲ ۲۰۱۹-۲۰۱۸ﺑﺎﻻﺿﺎﻓﺔ اﻟﻰ ﻓﺘﺮة اﻟﺘﺪرﯾﺐ اﻟﻤﻜﺜﻒ اﻟﺘﻲ
ﺑﺪأت ﻓﻲ ﺷﮭﺮ ﻣﺎرس ۲۰۱۹اﻟﻰ ﻧﮭﺎﯾﺔ ﺷﮭﺮ ﯾﻮﻧﯿﻮ .ﻛﻤﺎ ﺷﺎرك اﻟﻄﻠﺒﺔ اﻟﻤﺘﻤﯿﺰون ﻓﻲ اﻟﻌﺪﯾﺪ ﻣﻦ اﻟﻤﺴﺎﺑﻘﺎت
اﻹﻗﻠﯿﻤﯿﺔ و ﻣﻨﮭﺎ :اوﻟﻤﺒﯿﺎد اﻟﺮﯾﺎﺿﯿﺎت ﻟﺪول آﺳﯿﺎ و اﻟﺒﺎﺳﯿﻔﯿﻚ ،اوﻟﻤﺒﯿﺎد اﻟﻄﺎﻟﺒﺎت ﻟﻠﺪول اﻷورﺑﯿﺔ ﻓﻲ اوﻛﺮاﻧﯿﺎ ،
اوﻟﻤﺒﯿﺎد اﻟﺒﻠﻘﺎن ﻓﻲ ﻣﺎﻟﺪوﻓﺎ و اوﻟﻤﺒﯿﺎد اﻟﻨﺎﺷﺌﯿﻦ ﻟﺪول اﻟﺒﻠﻘﺎن ﻓﻲ ﻗﺒﺮص.
ﻧﺄﻣﻞ ان ﯾﻜﻮن ﻣﺤﺘﻮى ھﺬا اﻟﻜﺘﯿﺐ إﺳﮭﺎﻣﺎ ً ﻣﻨﺎ ﻟﺘﻘﻮﯾﺔ اواﺻﺮ اﻟﺘﻌﺎون و ﺗﺒﺎدل اﻟﺨﺒﺮات ﺑﯿﻨﻨﺎ و اﻟﺪول اﻟﻤﺸﺎرﻛﺔ
ﻓﻲ اﻻوﻟﻤﺒﯿﺎد اﻟﺪوﻟﻲ.
i) both P and Q have a coefficient with absolute value bigger than 2021,
Problem 3. Let x, y and z be odd positive integers such that gcd(x, y, z) = 1 and
the sum x2 + y 2 + z 2 is divisible by x + y + z. Prove that x + y + z − 2 is not divisible
by 3.
1.2. Test 2
Problem 5. There are n ≥ 2 positive integers written on the whiteboard. A move
consists of three steps: calculate the least common multiple N of all numbers then
choose any number a and replace a by Na .
Prove that, using a finite number of moves, you can always make all the numbers
on the whiteboard equal to 1.
Problem 6. Let ABC be an acute triangle with AB < AC and inscribed in the
circle (O). Denote I as the incenter of ABC and D, E as the intersections of AI with
BC, (O) respectively. Take a point K on BC such that ∠AIK = 90◦ and KA, KE
meet (O) again at M, N respectively. The rays N D, N I meet the circle (O) at Q, P.
8
Selected problems from camps
2.2. Test 2
Problem 5. Let (an )n≥1 be a sequence given by a1 = 45 and
an = a2n−1 + 15an−1
b) Show that there are infinitely many positive integers which are not amazing.
3.2. Test 2
Problem 4. In a regular 100-gon, 41 vertices are colored black and the remain-
ing 59 vertices are colored white. Prove that there exist 24 convex quadrilaterals
Q1 , Q2 , . . . , Q24 whose corners (vertices of the quadrilateral) are vertices of the 100
-gon, so that
• the quadrilaterals Q1 , Q2 , . . . , Q24 are pairwise disjoint, and
• every quadrilateral Qi has three corners of one color and one corner of the
other color.
Problem 5. Let ABC be a non isosceles triangle with incenter I and let the cir-
cumcircle of the triangle ABC has radius R. Let AL is the external angle bisector
of ∠BAC with L ∈ BC. Let K is the point on the perpendicular bisector of BC
such that IL ⊥ IK. Prove that OK = 3R.
f (a ) (a + b) = af (a) + bf (b)
2 +b2
n th (0)
for every a, b ∈ Z. Here,
f denotes the n iteration of f , i. e. f (x) = x and
(n+1) (n)
f (x) = f f (x) for all n ≥ 0.
3.3. Test 3
Problem 7. Let ABC be an isosceles triangle with BC = CA, and let D be a point
inside the side AB such that AD < DB. Let P and Q be two points inside the sides
BC and CA respectively, such that ∠DP B = ∠DQA = 90◦ . Let the perpendicular
bisector of P Q meets the line segment CQ at E and let the circumcircles of triangles
ABC and CP Q meet again at point F , different from C. Suppose that P, E and F
are collinear. Prove that ∠ACB = 90◦ .
Problem 9. For a positive integer n, let d(n) be the number of positive divisors of
n, and let ϕ(n) be the number of positive integers not exceeding n which are coprime
with n. Prove that that for any number C there exists an integer n for which
ϕ(d(n))
> C.
d(ϕ(n))
3.4. Test 4
Problem 10. Given a positive integer k, show that there exists a prime p such
that one can choose distinct integers a1 , a2 , . . . , ak+3 ∈ {1, 2, . . . , p − 1} such that p
divides ai ai+1 ai+2 ai+3 − i for all i = 1, 2, 3, . . . , k.
Problem 11. Suppose that a, b, c, d are positive real numbers satisfying (a + c)(b +
d) = ac + bd. Find the smallest possible value of
a b c d
+ + +
b c d a
Problem 12. Let p be an odd prime and let N = 14 (p3 − p) − 1. The numbers
1, 2, . . . , N are painted arbitrarily in two colors, red and blue. For any positive
integer n ≤ N , denote by r(n) the fraction of integers in {1, 2, . . . , n} that are red
(number of red numbers divided by n ). Prove that there exists a positive integer
a ∈ {1, 2, . . . , p − 1} such that r(n) 6= ap for all n = 1, 2, . . . , N
1. Day 1
Problem 1. Do there exist two polynomials P and Q with integer coefficient such
that:
i) both P and Q have a coefficient with absolute value bigger than 2021,
Due to Newton binomial formula (1±x)n have coefficient equal n, also all coefficients
of
n−2 n−1
(1 + x)n (1 + x2 )n−1 . . . (1 + x2 )2 (1 + x2 )
are positive and bigger than coefficients of (1 + x)n .
Solution. Let BU, CV be the diameter of circles (O1 ), (O2 ) and denote R = HU ∩
AB, S = HV ∩ AC. We have BH⊥HU, but BH⊥AC then HR k AC. Similarly
HS k AB implying that ARHS is a parallelogram. Hence, M is the midpont of the
segment RS.
12
Solution to BMO selection tests
U X
A
O2
O1 M S
R
B
C
Solution. For k = 0 this is impossible, since at least one non-mine field will be
adjacent to the bombs unless the entire field is covered with bombs.
• For k = 1 we take a = 1, b = 3 · 1011 − 1, and 1011 mines spaced two-spaces
apart, with one on one of the endpoints, so the total number of fields marked
1 is 2021.
• For k = 2 we again take a = 1, b large enough, and place 2021 empty fields in
isolation of each other, and not on any of the endpoints.
• For k = 3, we take a = 2, b large enough, and 2019/3 mutually isolated L-
triminoes as empty spaces, with two corner points on opposite sides of the
longer edge also empty.
• For k = 4, we take a = 3, b large enough, and 1008 pairs of adjacent empty
fields on the edge, with one empty field on the middle row surrounded on all
diagonals by 4 empty fields on the edge, resembling an X shape.
• For k = 5 we take a = 3, b large enough, and place 2021 isolated empty fields
on the edge.
• For k = 6 we take a and b large enough, and place 2013/3 isolated empty
L-triminoes and 2 diamond-shaped regions of 4 fields each.
• For k = 7 it is impossible to place an empty field on the edge and since each
empty field in the interior is adjacent to exactly one other empty field it follows
that the empty fields are paired and thus their total number cannot be 2021,
an odd number.
• For k = 8 we simply take 2021 isolated empty fields in the interior.
Thus, the set of solutions is: {1, 2, 3, 4, 5, 6, 8}.
2. Day 2
Problem 6. Let ABC be an acute triangle with AB < AC and inscribed in the
circle (O). Denote I as the incenter of ABC and D, E as the intersections of AI
with BC, (O) respectively. Take a point K on BC such that ∠AIK = 90◦ and
KA, KE meet (O) again at M, N respectively. The rays N D, N I meet the circle
(O) at Q, P.
M Q
O
I
R
K C
B D
N
S
E
Solution.
1. We will call a threat an uncolored segment whose coloring of red would produce
a triangle. We will show that Alice can use the following strategy to win: Alice
will keep coloring segments whose one end-point is A unless she can complete
a triangle. We will call the other endpoints opposite ends. Let us assume that
Bob can stop this strategy. Bob’s optimal strategy to counter Alice’s is first
eliminating all threats in his move and then using his remaining moves to color
segments coming out of A. Note that after the k-th red line is drawn, Bob
must color k − 1 threats blue, which are the lines connecting the new opposite
end with all the previous opposite ends. Thus in the k-th pair of moves of
Alice and Bob, the number of colored edges coming out of A has increased by
b + 1 − (k − 1) = b − k + 2. Assume there exists a l such that after l moves all
segments out of A have been colored before Alice could draw a triangle. Then
we have
l(l + 1) 3
(b + 2)l − ≥ n − 1 ⇒ l2 + 2l(b + ) + 2n − 2 ≤ 0,
2 2
2. We will show that Bob can use the following strategy to win: Whenever Alice
colors a line AB, Bob will color b 2b c edges out of A blue and d 2b e edges out of
B. This ensures at most b b nc+1 + 1 red edges out of any point, which is not
2 √
larger than b 2b c + 1 for b ≥ 2 n. Assuming Alice completes a triangle ABC
and WLOG moves AB, AC and BC in sequence, it follows that before placing
BC there were at least b 2b c + 1 threats out of C. However this means, since
placing AC created these threats, that, not counting AC, there were at least
b 2b c + 1 red lines out of A and thus the total number of red lines coming out
of A is larger than b 2b c + 1, a contradiction.
1. Test 1
Problem 1. Find all positive integers a, b, c and prime number p such that
Solution. Let K be the concurrent point of CF, BE, AD, and let CF intersects BD
at L.
18
Solution to JBMO tests
(n + 5)an + 22
an+1 =
n+3
for n ≥ 1. Find all positive integers n for which an is a perfect square.
Problem 4. Let F is the set of all sequences {(a1 , a2 , . . . , a2020 ) with ai ∈ {−1, 1}}
for all i = 1, 2, . . . , 2020. Prove that there exists a set S, such that S ⊂ F, |S| =
2020 Pand for any (a1 , a2 , . . . , a2020 ) ∈ F there exists (b1 , b2 , . . . , b2020 ) ∈ S, such
that 2020
i=1 ai bi = 0.
a · b = a1 b1 + a2 b2 + · · · + a2020 b2020 .
It’s easy to verify that a · b is even for each a, b ∈ F . Let a = (a1 , a2 , . . . , a2020 ) ∈ F
and denote bi = a · ei for each i ∈ {1, 2, . . . , 2020}, then
Let S = {e1 , e2 , . . . , e2020 }. It is clear that b2021 = −b1 and bi is even for each
i ∈ {1, 2, . . . , 2020}. If b1 6= 0, there exists an integer k such that 1 < k < 2021 and
bk = 0. Hence, S satisfies the problem’s requirements.
2. Test 2
Solution. By induction we can show that an > 0 for all positive integer n.
Suppose that there is exist positive integer n such that an is perfect square.
Let k > 1 is the smallest positive integer satisfied ak is perfect square and ak−1 = 45x
with x is positive integer. We have
Problem 8. Let us call a set of positive integers nice if the number of its elements
equals to the average of its numbers. Call a positive integer n an amazing number
if the set {1, 2, , . . . , n} can be partitioned into nice subsets.
b) Show that there are infinitely many positive integers which are not amazing.
(1 + 2 + · · · + n) − m2 n−k
= n − m ⇐⇒ n = n2 − 4mn + 4m2 ⇐⇒ m = .
n−m 2
Therefore, we can choose m so that C is nice. Hence, n is amazing.
b) We prove that if n = 4k + 2 for some positive integer k, then n is not amazing.
Assume that A = {1, 2, . . . , n} can be partitioned into nice subsets A1 , A2 , . . . , Am
with cardinality a1 , a2 , . . . , am respectively. Therefore,
m m m
n(n + 1) X XX X X
= x= x= a2i ≡ ai = n (mod 2),
2 x∈A i=1 x∈A i=1 i=1
i
1. Day 1
Problem 1. For a non-empty set T denote by p(T ) the product of all elements
of T . Does there exist a set T of 2021 elements such that for any a ∈ T one has
that p(T ) − a is an odd integer. Consider two cases:
Solution.
1. Consider the polynomial
f (x) = x(x + 2)(x + 4) . . . (x + 4040) − x − (2m − 1)
for some m ∈ Z+ then lim f (x) = +∞ and f (0) = 22020 ·2020!−(2m−1).Take
x→+∞
m big enough to get f (0) < 0 then by the continuous property of f (x), there
exists some real number x0 such that f (x0 ) = 0. Then take the set T as
follows
T = {x0 , x0 + 2, x0 + 4, . . . , x0 + 4040}
Then p(T ) = x0 (x0 + 2) (x0 + 4) . . . (x0 + 4040) and p(T ) − x0 = 2m − 1 is
an odd integer. Since every element in T has form x0 + 2k with k ∈ Z then
p(T ) − a is an odd integer for all a ∈ T . Finally, take m = 22019 · 2020! then
f (0) = 1, suppose on the contrary that x0 ∈ Q. Note that f (x) is monic then
x0 ∈ Z and x0 | f (0) = 1, implies that x0 ∈ {−1; 1}, but this is contradiction
since it is easy to check that f (x) cannot have odd integer root.
2. We will proof that the answer is negative. Note that for all x, y ∈ T then x − y
is even. Suppose that T contains some rational number b. Then we can list
elements of T as follows b, b + a1 , b + a2 , . . . , b + a2020 in which a1 , a2 , . . . , ak
are even.
Put c = b (b + a1 ) (b + a2 ) . . . (b + ak ) − b then c is odd. Consider polynomial
g(x) = x (x + a1 ) (x + a2 ) . . . (x + ak ) − x − c
then g(b) = 0 and x = b is the rational root of g(x). Note that g is monic
then b ∈ Z. From this we conclude that all the elements in T are integers that
share the same parity, so does p(T ). Thus p(T ) − b is even, contradiction.
23
24 Solution to IMO Team selection tests
Problem 2. Find all positive integers n, such that n is a perfect number and
ϕ(n) is power of 2. Note: a positive integer n is called perfect if the sum of all
its positive divisors is equal to 2n.
Solution. Suppose that ϕ(n) = 2m for some m ∈ Z+ . Base on the formula of ϕ(n),
we have Y
ϕ(n) = pt−1 (p − 1) = 2m
p|n
with vp (n) = t. This implies that t = 1 for all odd prime divisor, since otherwise,
p | 2m , a contradiction. Thus p − 1 is the power of 2 .
With odd prime divisor of n, put p = 2s + 1 for some s ∈ Z+ . If s = 1 then p = 3,
otherwise s must be even since p ≡ (−1)s +1 ≡ 0( mod 3) when s is the odd number,
contradiction. In case s has some proper odd prime divisor q then put s = qt with
q
t > 1 then 2s + 1 = (2t ) + 1 is divisible by 2t + 1 contradiction also.
k
These imply that s is also a power of 2 , so by putting s = 2k , we get p = 22 + 1.
Now let n = 2a p1 p2 . . . pl with a ≥ 0, l ≥ 0 and p1 , p2 , . . . , pl are odd primes in
k
ascending order, in which p1 = 22 + 1. So
is the sum of divisors of n. Note that l > 0, otherwise, σ(n) = 2a+1 −1, contradiction.
If p1 > 3 then 3 - 2n and
k
k k
p1 + 1 = 22 + 2 = 2 22 −1 + 1 ≡ 2 (−1)2 −1 + 1 ≡ 0 (mod3)
Solution. Let (p, q) denote the directed angle between lines p and q.
The points B, C, I, and IA lie on the circle Γ with diameter IIA . Let ω and Ω denote
the circles (IA EF ) and (AID), respectively. Let T be the second intersection point
of ω and Γ.
Then T is the Miquel point of the complete quadrilateral formed by the lines
BC, BIA , CIA , and DEF , so T also lies on circle (BDE) (as well as on circle
(CDF )). We claim that T is desired tangency point of ω and Ω.
In order to show that T lies on Ω, use cyclic quadrilaterals BDET and BIIA T to
write
(DT, DA) = (DT, DE) = (BT, BE) = (BT, BIA ) = (IT, IIA ) = (IT, IA)
2. Day 2
Problem 4. In a regular 100-gon, 41 vertices are colored black and the remaining
59 vertices are colored white. Prove that there exist 24 convex quadrilaterals
Q1 , Q2 , . . . , Q24 whose corners (vertices of the quadrilateral) are vertices of the
100 -gon, so that
• every quadrilateral Qi has three corners of one color and one corner of the
other color.
Solution. Call a quadrilateral skew-colored, if it has three corners of one color and
one corner of the other color. We will prove the following
Claim. If the vertices of a convex (4k + 1) -gon P are colored black and white such
that each color is used at least k times, then there exist k pairwise disjoint skew-
colored quadrilaterals whose vertices are vertices of P . (One vertex of P remains
unused.)The problem statement follows by removing 3 arbitrary vertices of the 100
-gon and applying the Claim to the remaining 97 vertices with k = 24.
Proof of the Claim. We prove by induction. For k = 1 we have a pentagon with
at least one black and at least one white vertex. If the number of black vertices is
even then remove a black vertex; otherwise remove a white vertex. In the remaining
quadrilateral, there are an odd number of black and an odd number of white vertices,
so the quadrilateral is skew-colored.
For the induction step, assume k > 2. Let b and w be the numbers of black and
white vertices, respectively; then b, w > k and b + w = 4k + 1. Without loss of
generality we may assume w > b, so k 6 b 6 2k and 2k + 1 6 w 6 3k + 1.
We want to find four consecutive vertices such that three of them are white, the
fourth one is black. Denote the vertices by V1 , V2 , . . . , V4k+1 in counterclockwise
order, such that V4k+1 is black, and consider the following k groups of vertices:
(V1 , V2 , V3 , V4 ) , (V5 , V6 , V7 , V8 ) , . . . , (V4k−3 , V4k−2 , V4k−1 , V4k )
In these groups there are w white and b − 1 black vertices. Since w > b − 1, there is a
group, (Vi , Vi+1 , Vi+2 , Vi+3 ) that contains more white than black vertices. If three are
white and one is black in that group, we are done. Otherwise, if Vi , Vi+1 , Vi+2 , Vi+3
are all white then let Vj be the first black vertex among Vi+4 , . . . , V4k+1 ( recall that
V4k+1 is black); then Vj−3 , Vj−2 and Vj−1 are white and Vj is black.
Now we have four consecutive vertices Vi , Vi+1 , Vi+2 , Vi+3 that form a skew-colored
quadrilateral. The remaining vertices form a convex (4k − 3) -gon; w − 3 of them
are white and b − 1 are black. Since b − 1 > k − 1 and w − 3 > (2k + 1) − 3 > k − 1,
we can apply the Claim with k − 1.
Problem 5. Let ABC be a non isosceles triangle with incenter I and let the
circumcircle of the triangle ABC has radius R. Let AL is the external angle
bisector of ∠BAC with L ∈ BC. Let K is the point on the perpendicular bisector
of BC such that IL ⊥ IK. Prove that OK = 3R.
PD/(O) = DA · DC = DU · DI = PD/(IU V )
and similarly, PE/(O) = PE/(IU V ) so DE is the radical axis of (O) and (IU V ) which
implies that DE is perpendicular to the line that joining centers of (O) and (IU V ).
We know that center Z of (IU V ) is the reflection of S over U V , and since IT = 2N S,
it is easy to check that Z ∈ T O. Thus, we have DE ⊥ OT which finishes the
proof.
f (a ) (a + b) = af (a) + bf (b)
2 +b2
n th (0)
for every a, b ∈ Z. Here,
f denotes the n iteration of f , i. e. f (x) = x and
(n+1) (n)
f (x) = f f (x) for all n ≥ 0.
For x ∈ Z define the orbit of x by O(x) = {x, f (x), f (f (x)), . . .} ⊆ Z. We see that
the orbits O(a − 1) and O(a) differ by finitely many terms. Hence, any two orbits
differ by finitely many terms. In particular, this implies that either all orbits are
finite or all orbits are infinite.
Case 1: All orbits are finite. Then O(0) is finite. Using E(a, −a) we get
2
a(f (a) − f (−a)) = af (a) − af (−a) = f 2a (0) ∈ O(0) (1)
2
For |a| > max |z|, this yields f (a) = f (−a) and f 2a (0) = 0. Therefore, the se-
z∈O(0)
quence f k (0) : k = 0, 1, . . . is purely periodic with a minimal period T which di-
vides 2a2 . Analogously, T divides 2(a + 1)2 , therefore, T | gcd (2a2 , 2(a + 1)2 ) = 2,
2
i.e., f (f (0)) = 0 and a(f (a) − f (−a)) = f 2a (0) = 0 for all a. Thus,
Assume that there exists some m 6= 0 such that f (m) 6= 0. Choose such an m for
which |m| is minimal possible. Then |m| > 1 due to (2);f (|m|) 6= 0 due to (3);
and f (1 − |m|) 6= 0 due to (4) for n = |m|. This contradicts to the minimality
assumption.
So, f (n) = 0 for n 6= 0. Finally, f (0) = f 3 (0) = f 4 (2) = 2f (2) = 0. Clearly, the
function f (x) ≡ 0 satisfies the problem condition, which provides the first of the
two answers.
Case 2: All orbits are infinite.
Since the orbits O(a) and O(a − 1) differ by finitely many terms for all a ∈ Z, each
two orbits O(a) and O(b) have infinitely many common terms for arbitrary a, b ∈ Z.
For a minute, fix any a, b ∈ Z. We claim that all pairs (n, m) of nonnegative
integers such that f n (a) = f m (b) have the same difference n − m. Arguing indi-
rectly, we have f n (a) = f m (b) and f p (a) = f q (b) with, say, n − m > p − q, then
f p+m+k (b) = f p+n+k (a) = f q+n+k (b), for all nonnegative integers k. This means that
f `+(n−m)−(p−q) (b) = f ` (b) for all sufficiently large `, i.e., that the sequence (f n (b)) is
eventually periodic, so O(b) is finite, which is impossible.
Now, for every a, b ∈ Z, denote the common difference n − m defined above by
X(a, b). We have X(a − 1, a) = 1 by (1). Trivially, X(a, b) + X(b, c) = X(a, c), as
if f n (a) = f m (b) and f p (b) = f q (c), then f p+n (a) = f p+m (b) = f q+m (c). These two
properties imply that X(a, b) = b − a for all a, b ∈ Z.
2 +1 2
But (1) yields f a (f (a − 1)) = f a (f (a)), so
1 = X(f (a − 1), f (a)) = f (a) − f (a − 1) for all a ∈ Z
Recalling that f (−1) = 0, we conclude by (two-sided) induction on x that f (x) =
x + 1 for all x ∈ Z. Finally, the obtained function also satisfies the assumption.
Indeed, f n (x) = x + n for all n > 0, so
2 +b2
fa (a + b) = a + b + a2 + b2 = af (a) + bf (b).
3. Day 3
Finally, both O and M lie on lines ` anh CM , therefore O = M , and ∠ACB = 90◦
follows.
Problem 9. For a positive integer n, let d(n) be the number of positive divisors
of n, and let ϕ(n) be the number of positive integers not exceeding n which are
coprime with n. Prove that that for any number C there exists an integer n for
which
ϕ(d(n))
> C.
d(ϕ(n))
Solution. Fix N > 1, let p1 , . . . , pk be all primes between 1 and N and pk+1 , . . . , pk+s
be all primes between N + 1 and 2N . Since for j 6 k + s all prime divisors of pj − 1
do not exceed N , we have
k+s
Y Yk
(pj − 1) = pci i
j=1 i=1
with some fixed exponents c1 , . . . , ck . Choose a huge prime number q and consider
a number
n = (p1 · . . . · pk )q−1 · (pk+1 · . . . · pk+s )
Then
ϕ(d(n)) = ϕ q k · 2s = q k−1 (q − 1)2s−1
and
k+s
! k
! k
q−2
Y Y Y
d(ϕ(n)) = d (p1 · . . . · pk ) (pi − 1) =d piq−2+ci = (q − 1 + ci )
i=1 i=1 i=1
So
k
ϕ(d(n)) q k−1 (q − 1)2s−1 s−1 q − 1
Y q
= Qk =2 · ·
d(ϕ(n)) i=1 (q − 1 + ci )
q i=1
q − 1 + ci
which can be made arbitrarily close to 2s−1 by choosing q large enough. It remains
to show that s can be arbitrarily large, i.e. that there can be arbitrarily many primes
between N and 2N .
P1
This follows, for instance, from the well-known fact that p
= ∞, where the sum
is taken over the set P of prime numbers. Indeed, if, for some constant C, there
were always at most C primes between 2` and 2`+1 , we would have
X1 ∞ ∞
X X 1 XC
= 6 `
<∞
p∈P
p `=0 p∈P
p `=0
2
p∈[2` ,2`+1 )
which is a contradiction.
4. Day 4
Problem 10. Given a positive integer k, show that there exists a prime p such
that one can choose distinct integers a1 , a2 , . . . , ak+3 ∈ {1, 2, . . . , p − 1} such that
p divides ai ai+1 ai+2 ai+3 − i for all i = 1, 2, 3, . . . , k.
Solution. First we choose distinct positive rational numbers r1 , . . . , rk+3 such that
r1 < r5 < r9 < . . . , r2 < r6 < r10 < . . . , r3 < r7 < r11 < . . . , r4 < r8 < r12 < . . .
are increasing and have no common terms, that is, all ri are distinct.
ivi vi+1 vi+2 vi+3 = ri vi ri+1 vi+1 ri+2 vi+2 ri+3 vi+3
=ui ui+1 ui+2 ui+3 ≡ ai vi ai+1 vi+1 ai+2 vi+2 ai+3 vi+3 (mod p)
Problem 11. Suppose that a, b, c, d are positive real numbers satisfying (a+c)(b+
d) = ac + bd. Find the smallest possible value of
a b c d
+ + +
b c d a
The above inequalities turn into equalities when a = c and b = d. Then the condition
(a + c)(b +√d) = ac + bd can be rewritten as 4ab = a2 + b2 . This is equivalent to
a/b = 2 ± 3.
√
Hence, S attains value 8, e.g., when a = c = 1 and b = d = 2 + 3.
Problem 12. Let p be an odd prime and let N = 14 (p3 − p) − 1. The numbers
1, 2, . . . , N are painted arbitrarily in two colors, red and blue. For any positive
integer n ≤ N , denote by r(n) the fraction of integers in {1, 2, . . . , n} that are red
(number of red numbers divided by n ). Prove that there exists a positive integer
a ∈ {1, 2, . . . , p − 1} such that r(n) 6= ap for all n = 1, 2, . . . , N
Solution. Denote by R(n) the number of red numbers in {1, 2, . . . , n}, i.e., R(n) =
nr(n). Similarly, denote by B(n) and b(n) = B(n)/n the number and proportion
of blue numbers in {1, 2, . . . , n}, respectively. Notice that B(n) + R(n) = n and
b(n) + r(n) = 1. Therefore, the statement of the problem does not change after
swapping the colors.
Arguing indirectly, for every a ∈ {1, 2, . . . , p − 1} choose some positive integer na
such that r (na ) = a/p and, hence, R (na ) = ana /p. Clearly, p | na , so that na = pma
for some positive integer ma , and R (na ) = ama . Without loss of generality, we
assume that m1 < mp−1 , as otherwise one may swap the colors. Notice that
N p2 − 1
ma 6 < for all a = 1, 2, . . . , p − 1 .
p 4
The solution is based on a repeated application of the following simple observation.
Claim. Assume that ma < mb for some a, b ∈ {1, 2, . . . , p − 1}. Then
a p−a
mb > ma and mb > ma .
b p−b
Proof. The first inequality follows from bmb = R (nb ) > R (na ) = ama . The second
inequality is obtained by swapping colors. Let q = (p − 1)/2. We distinguish two
cases.
Case 1: All q numbers m1 , m2 , . . . , mq are smaller than mp−1 .
. Let ma be the maximal number among m1 , m2 , . . . , mq ; then ma > q > a. Applying
the Claim, we get
p−a p2 − 1
mp−1 > ma > (p − q)q =
p − (p − 1) 4
Problem 1. Let ABC be an acute, non-isosceles triangle with AD, BE, CF are
altitudes and d is the tangent line of the circumcircle of triangle ABC at A. The
line throught H and parallel to EF cuts DE, DF at Q, P respectively. Prove that
d is tangent to the ex-circle respect to vertex D of triangle DP Q.
Problem 2. Let ABC be an acute, non isosceles triangle with the orthocenter H,
circumcenter O and AD is the diameter of (O). Suppose that the circle (AHD)
meets the lines AB, AC at F, Erespectively. Denote J, K as orthocenter and nine-
point center of AEF. Prove that HJ parallel to BC and KO = KH.
Problem 4. Let ABC be a triangle with incircle (I), tangent to BC, CA, AB at
D, E, F respectively. On the line DF, take points M, P such that CM k AB, AP k
BC. On the line DE, take points N, Q such that BN k AC, AQ k BC. Denote X
as intersection of P E, QF and K as the midpoint of BC. Prove that if AX = IK
then ∠BAC ≤ 60◦ .
Problem 5. Let ABCD be a rectangle with P lies on the segment AC. Denote Q
as a point on minor arc P B of (P AB) such that QB = QC. Denote R as a point
on minor arc P D of (P AD) such that RC = RD. The lines CB, CD meet (CQR)
again at M, N respectively. Prove that BM = DN.
Problem 6. Let A be a point lies outside circle (O) and tangent lines AB, ACof
(O). Consider points D, E, M on (O) such that M D = M E. The line DE cuts
M B, M C at R, S. Take X ∈ OB, Y ∈ OC such that RX, RY ⊥DE. Prove that
XY ⊥AM.
34
Problems without solution
Problem 9. Let ABC be a triangle inscribed in circle (O) with diamter KL passes
through the midpoint M of AB such that L, C lie on the different sides respect to
AB. A circle passes through M, K cuts LC at P, Q (point P lies between Q, C). The
line KQ cuts (LM Q) at R. Prove that ARBP is cyclic and AB is the symmedian
of triangle AP R.
Problem 10. Let AB be a chord of the circle (O). Denote M as the midpoint of
the minor arc AB. A circle (O0 ) tangent to segment AB and internally tangent to
(O). A line passes through M , perpendicular to O0 A, O0 B and cuts AB respectively
at C, D. Prove that AB = 2CD.
Problem 11. Consider circles (O1 ), (O2 ), (O3 ) are tangent to d at A, B, C and (O2 )
is the biggest circle, externally tangent to (O1 ), (O3 ). Let BD be the diameter of (O2 ).
The external tangent line (differs from d) of (O1 ), (O3 ) cuts (O2 ) at X, Y. Let K be
the midpoint of the arc XBY of (O2 ). Prove that the circle of diameter AC touches
DX, DY.
Problem 12. Let ABC be a triangle with circumcenter O and incenter I, ex-center
in angle A is J. Denote D as the tangent point of là (I) on BC and the angle bisector
of angle A cuts BC, (O) respectively at E, F. The circle (DEF ) meeds (O) again at
T. Prove that AT passes through an intersection of (J) and (DEF ).
Problem 13. Let ABCD be a quadrilteral with ∠A = ∠B = 90◦ , AB = AD.
Denote E as the midpoint of AD, suppose that CD = BC + AD, AD > BC. Prove
that ∠ADC = 2.∠ABE.
Problem 14. Let ABC be a triangle inscribed in a fix circle (O) with BC is fix
and A vary on (O). Denote H as the orthocenter of triangle ABC and take D, E on
AB, AC respectively such that H is the midpoint of DE. Prove that when A moves
on (O), the center of (ADE) belongs a fixed circle.
Problem 15. Let ABC be convex quadrilateral and X lying inside it such that
XA · XC 2 = XB · XD2 and ∠AXD + ∠BXC = ∠CXD. Prove that ∠XAD +
∠XCD = ∠XBC + ∠XDC.
Problem 16. Let ABC be an acute, non-isosceles triangle with circumcenter O,
incenter I and (I) tangent to BC, CA, AB at D, E, F respectively. Suppose that
EF cuts (O) at P, Q. Prove that (P QD) bisects segment BC.
Problem 17. Let ABC be an acute, non-isosceles triangle with circumcenter O.
Tangent lines to (O) at B, C meet at T. A line passes through T cuts segments AB
at D and cuts ray CA at E. Take M as midpoint of DE and suppose that M A cuts
(O) again at K. Prove that (M KT ) is tangent to (O).
Problem 18. Let ABC be a triangle with AB < AC and incircle (I) tangent to
BC at D. Take K on AD such that CD = CK. Suppose that AD cuts (I) at G and
BG cuts CK at L. Prove that K is the midpoint of CL.
Problem 19. Let ABC be a triangle with AB < AC inscribed in (O). Tangent
line at A of (O) cuts BC at D. Take H as the projection of A on OD and E, F as
projections of H on AB, AC. Suppose that EF cuts (O) at R, S. Prove that (HRS)
is tangent to OD.
Problem 22. Let ABC be a non-isosceles triangle with altitudes AD, BE, CF with
orthocenter H. Suppose that DF ∩ HB = M, DE ∩ HC = N and T is the circum-
center of triangle HBC. Prove that AT ⊥M N.
Problem 23. Let ABC be triangle with the symmedian point L and circumradius
R. Construct parallelograms ADLE, BHLK, CILJ such that D, H ∈ AB; K, I ∈
BC; J, E ∈ CA. Suppose that DE, HK, IJ pairwise intersect at X, Y, Z. Prove that
inradius of XY Z is R2 .
Problem 24. Let ABC be triangle with M is the midpoint of BC and X, Y are
excenters with respect to angle B, C. Prove that M X, M Y intersect AB, AC at four
points are vertices of circumscribe quadrilateral.
Problem 25. The Magician and his Assistant show trick. The Viewer writes on
the board the sequence of N digits. Then the Assitant covers some pair of adjacent
digits so that they become invisible. Finally, the Magician enters the show, looks
at the board and guesses the covered digits and their order. Find the minimal N
such that the Magician and his Assistant can agree in advance so that the Magician
always guesses right.
Problem 26. Given an infinite sequence of numbers a1 , a2 , a3 , ... such that for each
positive integer k, there exists positive integer t for which ak = ak+t = ak+2t = ....
Does this sequences must be periodic?
Problem 27. Each of N people have chosen some 5 elements from a 23−element
set so that any two people share at most 3 chosen elements. Does this mean that
N ≤ 2020? Answer the same question with 25 instead of 23.
Problem 28. Find all positive integer n ≥ 3 such that it is possible to mark the
vertices of a regular n− gon with the number from 1 to n so that for any three
vertices A, B and C with AB = AC, the number in A is greater or smaller than
both numbers in B, C.
Problem 29. Prove that it is impossible to fill the cells of an 8 × 8 table with the
numbers from 1 to 64 (each number must be used once) so that for each 2 × 2 square,
the difference between products of the numbers on it’s diagonals will be equal to 1.
Problem 30. For a positive integer k, denote by f (k) the number of positive integer
m such that the remainder of km modulo 20193 is greater than m. Find the amount
of different numbers among f (1), f (2), ..., f (20193 ).
Problem 31. Let n be a positive integer. What is the smallest value of m with
m > n such that the set M = {n, n + 1, ..., m} can be partitioned into subsets so that
in each subset, there is a number which equals to the sum of all other numbers of
this subset?
Problem 33. Call a positive integer x to be remote from a square cubes if each
integer k satisfies both |x − k 2 | > 106 and |x − k 3 | > 106 . Prove that there exist
infinitely many positive integer n such that 2n is remote from squares and cubes.
Problem 35. Let P (x) be a nonconstant integer polynomial and positive integer n.
The sequence a0 , a1 , ... is defined by a0 = n and ak = P (ak−1 ) for k ≥ 1. Given
that for each positive integer b, the sequence contains a b−th power of some positive
integer greater than 1. Prove that degP = 1.
Problem 36. There are 330 seats in the first row of the auditorium. Some of these
seats are occupied by 25 viewers. Prove that among the pairwise distances between
these viewers, there are two equal.
Problem 38. Prove that the set of all divisors of a positive integer which is not a
perfect square can be divided into pairs so that in each pair, one number is divided
by another.
satisfying
P the following property:
P for each non-empty subset S of {1, 2, ..., 101} the
sum i∈S ai divides 100! + i∈S bi .
Problem 40. Given m, n such that m > nn−1 and the number m+1, m+2, ..., m+n
are composite. Prove that there exist distinct primes p1 , p2 , ..., pn such that m + k is
divisible by pk for each k = 1, 2, ...