Olympiad Problems Arranged by MOHS
Olympiad Problems Arranged by MOHS
Olympiad Problems Arranged by MOHS
December 1, 2020
1
Introduction
Evan Chen has introduced a “MOHS hardness scale” for rating the difficulty of
mathematics contest problems in his blog:
https://usamo.wordpress.com/2019/11/26/mohs-hardness-scale/
The scales are from 0M to roughly 50M, with intermediate steps being 5. The
higher the scale, the more difficult the problem is. MOHS has became popular
among AoPS community and you can find numerous discussions on how hard a
problem is and what is its MOHS every now and then.
This collection contains 336 problems on Algebra, Combinatorics, Geometry and
Number Theory of some IMO, USAMO, USA TSTST and USA TST arranged by
their MOHS in increasing order, according to the index available here:
https://web.evanchen.cc/upload/MOHS-hardness.pdf
We use the following AoPS resources for this collection:
IMO Collection, USAMO Collection, USA TSTST, USA TST
The distribution of problems is depicted in the diagram below:
60 56
50 48 47
40
31 31
30 29 29
27
25
20
10 8
3 2
0
0 5 10 15 20 25 30 35 40 45 50 55
We hope this collection will have future updates and will be beneficial for math-
ematics contests training purposes.
Contents
1 Algebra 4
1.1 0 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 5 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 10 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.4 15 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5 20 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.6 25 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.7 30 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.8 35 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.9 40 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.10 45 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.11 50 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2 Combinatorics 19
2.1 0 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.2 5 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.3 10 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.4 15 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.5 20 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.6 25 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.7 30 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.8 35 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.9 40 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.10 45 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2.11 50 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
2.12 55 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
3 Geometry 46
3.1 5 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.2 10 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.3 15 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.4 20 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.5 25 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.6 30 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3.7 35 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3.8 40 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
3.9 45 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.10 50 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.11 55 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3
4 Number Theory 63
4.1 0 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.2 5 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
4.3 10 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
4.4 15 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.5 20 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.6 25 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.7 30 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
4.8 35 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.9 40 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
4.10 45 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4.11 50 M . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
4
1 Algebra
1.1 0M
1. (USAMO 2012 P1) Find all integers n ≥ 3 such that among any n positive
real numbers a1 , a2 , . . . , an with max(a1 , a2 , . . . , an ) ≤ n·min(a1 , a2 , . . . , an ),
there exist three that are the side lengths of an acute triangle.
AoPS discussion thread
1.2 5M
2. (IMO 2000, P2) Let a, b, c be positive real numbers so that abc = 1. Prove
that
1 1 1
a−1+ b−1+ c−1+ ≤ 1.
b c a
AoPS discussion thread
3. (IMO 2001, P4) Let n be an odd integer greater than 1 and let c1 , c2 , . . . , cn
be integers. For each permutation a = (a1 , a2 , . . . , an ) of {1, 2, . . . , n}, define
Xn
S(a) = ci ai . Prove that there exist permutations a 6= b of {1, 2, . . . , n}
i=1
such that n! is a divisor of S(a) − S(b).
AoPS discussion thread
4. (IMO 2007, P1) Real numbers a1 , a2 , . . ., an are given. For each i, (1 ≤ i ≤
n), define
di = max{aj | 1 ≤ j ≤ i} − min{aj | i ≤ j ≤ n}
and let d = max{di | 1 ≤ i ≤ n}.
(a) Prove that, for any real numbers x1 ≤ x2 ≤ · · · ≤ xn ,
d
max{|xi − ai | | 1 ≤ i ≤ n} ≥ . (∗)
2
(b) Show that there are real numbers x1 ≤ x2 ≤ · · · ≤ xn such that the
equality holds in (*).
AoPS discussion thread
5. (IMO 2014, P1) Let a0 < a1 < a2 . . . be an infinite sequence of positive
integers. Prove that there exists a unique integer n ≥ 1 such that
a0 + a1 + a2 + · · · + an
an < ≤ an+1 .
n
6. (IMO 2019, P1) Let Z be the set of integers. Determine all functions f :
Z → Z such that, for all integers a and b,
Prove that
2xn − cn−1 xn−1 + cn−2 xn−2 − · · · − c1 x1 + 2
has no real roots.
AoPS discussion thread
1.3 10 M
9. (IMO 2004, P4) Let n ≥ 3 be an integer. Let t1 , t2 , ..., tn be positive real
numbers such that
1 1 1
n2 + 1 > (t1 + t2 + · · · + tn ) + + ··· + .
t1 t2 tn
Show that ti , tj , tk are side lengths of a triangle for all i, j, k with 1 ≤ i <
j < k ≤ n.
AoPS discussion thread
10. (IMO 2008, P4) Find all functions f : (0, ∞) 7→ (0, ∞) (so f is a function
from the positive real numbers) such that
(f (w))2 + (f (x))2 w2 + x2
= 2
f (y 2 ) + f (z 2 ) y + z2
6
17. (USAMO 2007 P1) Let n be a positive integer. Define a sequence by setting
a1 = n and, for each k > 1, letting ak be the unique integer in the range
0 ≤ ak ≤ k − 1 for which a1 + a2 + · · · + ak is divisible by k. For instance,
when n = 9 the obtained sequence is 9, 1, 2, 0, 3, 3, 3, . . . . Prove that for any
n the sequence a1 , a2 , . . . eventually becomes constant.
AoPS discussion thread
18. (USAMO 2009 P4) For n ≥ 2 let a1 , a2 , . . . an be positive real numbers such
that 2
1 1 1 1
(a1 + a2 + · · · + an ) + + ··· + ≤ n+ .
a1 a2 an 2
Prove that max(a1 , a2 , . . . , an ) ≤ 4 min(a1 , a2 , . . . , an ).
AoPS discussion thread
19. (USAMO 2011 P1) Let a, b, c be positive real numbers such that a2 + b2 +
c2 + (a + b + c)2 ≤ 4. Prove that
ab + 1 bc + 1 ca + 1
2
+ 2
+ ≥ 3.
(a + b) (b + c) (c + a)2
1.4 15 M
25. (IMO 2002, P5) Find all functions f from the reals to the reals such that
(1 + a2 )2 (1 + a3 )3 · · · (1 + an )n > nn .
for all positive integers n. Given this information, determine all possible
values of f (1000).
AoPS discussion thread
33. (USA TST 2020, P1) Choose positive integers b1 , b2 , . . . satisfying
b1 b2 b3 b4
1= > > > > ···
12 22 32 42
and let r denote the largest real number satisfying nbn2 ≥ r for all positive
integers n. What are the possible values of r across all possible choices of
the sequence (bn )?
AoPS discussion thread
34. (USA TSTST 2014, P4) Let P (x) and Q(x) be arbitrary polynomials with
real coefficients, and let d be the degree of P (x). Assume that P (x) is not
the zero polynomial. Prove that there exist polynomials A(x) and B(x) such
that:
(i) both A and B have degree at most d/2
(ii) at most one of A and B is the zero polynomial.
A(x)+Q(x)B(x)
(iii) P (x) is a polynomial with real coefficients. That is, there is some
polynomial C(x) with real coefficients such that A(x) + Q(x)B(x) =
P (x)C(x).
10
1.5 20 M
35. (IMO 2001, P2) Prove that for all positive real numbers a, b, c,
a b c
√ +√ +√ ≥ 1.
a2 + 8bc b2 + 8ca c2 + 8ab
f (a − b) + f (b − c) + f (c − a) = 2f (a + b + c).
1.6 25 M
40. (IMO 2003, P5) Let n be a positive integer and let x1 ≤ x2 ≤ · · · ≤ xn be
real numbers. Prove that
n
!2 n
X 2(n2 − 1) X
|xi − xj | ≤ (xi − xj )2 .
i,j=1
3 i,j=1
Show that the equality holds if and only if x1 , . . . , xn is an arithmetic se-
quence.
AoPS discussion thread
41. (IMO 2013, P5) Let Q>0 be the set of all positive rational numbers. Let
f : Q>0 → R be a function satisfying the following three conditions:
(i) for all x, y ∈ Q>0 , we have f (x)f (y) ≥ f (xy);
(ii) for all x, y ∈ Q>0 , we have f (x + y) ≥ f (x) + f (y);
(iii) there exists a rational number a > 1 such that f (a) = a.
Prove that f (x) = x for all x ∈ Q>0 .
AoPS discussion thread
42. (IMO 2016, P5) The equation
(x − 1)(x − 2) · · · (x − 2016) = (x − 1)(x − 2) · · · (x − 2016)
is written on the board, with 2016 linear factors on each side. What is the
least possible value of k for which it is possible to erase exactly k of these
4032 linear factors so that at least one factor remains on each side and the
resulting equation has no real solutions?
AoPS discussion thread
43. (IMO 2020, P2) The real numbers a, b, c, d are such that a ≥ b ≥ c ≥ d > 0
and a + b + c + d = 1. Prove that
(a + 2b + 3c + 4d)aa bb cc dd < 1
by setting t(ai ) to be the number of terms in the sequence A that precede the
term ai and are different from ai . Show that, starting from any sequence A
as above, fewer than n applications of the transformation t lead to a sequence
B such that t(B) = B.
AoPS discussion thread
45. (USAMO 2004 P5) Let a, b, c > 0. Prove that
1.7 30 M
53. (IMO 2005, P3) Let x, y, z be three positive reals such that xyz ≥ 1. Prove
that
x5 − x2 y5 − y2 z5 − z2
+ + ≥ 0.
x5 + y 2 + z 2 x2 + y 5 + z 2 x2 + y 2 + z 5
ai ai+1 + 1 = ai+2 ,
14
for i = 1, 2, . . . , n.
AoPS discussion thread
56. (USAMO 2001 P3) Let a, b, c ≥ 0 and satisfy
a2 + b2 + c2 + abc = 4.
Show that
0 ≤ ab + bc + ca − abc ≤ 2.
61. (USA TST 2018, P2) Find all functions f : Z2 → [0, 1] such that for any
integers x and y,
f (x − 1, y) + f (x, y − 1)
f (x, y) = .
2
AoPS discussion thread
62. (USA TSTST 2015, P4) Let x, y, and z be real numbers (not necessarily
positive) such that
x4 + y 4 + z 4 + xyz = 4.
√
Show that x ≤ 2 and 2 − x ≥ y+z2 .
1.8 35 M
65. (IMO 2001, P6) Let a > b > c > d be positive integers and suppose that
ac + bd = (b + d + a − c)(b + d − a + c).
Prove that ab + cd is not prime.
AoPS discussion thread
66. (IMO 2002, P3) Find all pairs of positive integers m, n ≥ 3 for which there
exist infinitely many positive integers a such that
am + a − 1
an + a2 − 1
is itself an integer.
AoPS discussion thread
16
67. (IMO 2006, P3) Determine the least real number M such that the inequality
1.9 40 M
69. (IMO 2009, Problem P3) Suppose that s1 , s2 , s3 , . . . is a strictly increasing
sequence of positive integers such that the sub-sequences
(g(m) + n) (g(n) + m)
f (x + y) ≤ yf (x) + f (f (x))
for all real numbers x and y. Prove that f (x) = 0 for all x ≤ 0.
AoPS discussion thread
73. (IMO 2017, Problem P2) Let R be the set of real numbers. Determine all
functions f : R → R such that, for any real numbers x and y,
1.10 45 M
75. (IMO 2012, P6) Find all positive integers n for which there exist non-negative
integers a1 , a2 , . . . , an such that
1 1 1 1 2 n
+ + · · · + = + + · · · + = 1.
2a1 2a2 2an 3a1 3a2 3an
0 = x1 + x2 + · · · + xn = y1 + y2 + · · · + yn
1.11 50 M
79. (IMO 2007, P6) Let n be a positive integer. Consider
2 Combinatorics
2.1 0M
1. (USAMO 2005 P4) Legs L1 , L2 , L3 , L4 of a square table each have length n,
where n is a positive integer. For how many ordered 4-tuples (k1 , k2 , k3 , k4 )
of nonnegative integers can we cut a piece of length ki from the end of leg
Li (i = 1, 2, 3, 4) and still have a stable table?
(The table is stable if it can be placed so that all four of the leg ends touch
the floor. Note that a cut leg of length 0 is permitted.)
AoPS discussion thread
2.2 5M
2. (IMO 2002 P1) Let n be a positive integer. Each point (x, y) in the plane,
where x and y are non-negative integers with x + y < n, is colored red or
blue, subject to the following condition: if a point (x, y) is red, then so are
all points (x0 , y 0 ) with x0 ≤ x and y 0 ≤ y. Let A be the number of ways to
choose n blue points with distinct x-coordinates, and let B be the number of
ways to choose n blue points with distinct y-coordinates. Prove that A = B.
AoPS discussion thread
3. (IMO 2011, P4) Let n > 0 be an integer. We are given a balance and n
weights of weight 20 , 21 , · · · , 2n−1 . We are to place each of the n weights
on the balance, one after another, in such a way that the right pan is never
heavier than the left pan. At each step we choose one of the weights that
has not yet been placed on the balance, and place it on either the left pan
or the right pan, until all of the weights have been placed.
Determine the number of ways in which this can be done.
AoPS discussion thread
4. (USAMO 2002 P1) Let S be a set with 2002 elements, and let N be an
integer with 0 ≤ N ≤ 22002 . Prove that it is possible to color every subset of
S either black or white so that the following conditions hold:
(a) the union of any two white subsets is white;
(b) the union of any two black subsets is black;
(c) there are exactly N white subsets.
AoPS discussion thread
20
5. (USAMO 2005 P1) Determine all composite positive integers n for which it
is possible to arrange all divisors of n that are greater than 1 in a circle so
that no two adjacent divisors are relatively prime.
AoPS discussion thread
6. (USAMO 2019 P4) Let n be a nonnegative integer. Determine the number
of ways that one can choose (n + 1)2 sets Si,j ⊆ {1, 2, . . . , 2n}, for integers
i, j with 0 ≤ i, j ≤ n, such that:
• for all 0 ≤ i, j ≤ n, the set Si,j has i + j elements; and
• Si,j ⊆ Sk,l whenever 0 ≤ i ≤ k ≤ n and 0 ≤ j ≤ l ≤ n.
AoPS discussion thread
2.3 10 M
7. (IMO 2003, P1) Let A be a 101-element subset of the set
S = {1, 2, . . . , 1000000}.
Prove that there exist numbers t1 , t2 , . . . , t100 in S such that the sets
Aj = {x + tj | x ∈ A}, j = 1, 2, . . . , 100
10. (USAMO 2005 P5) Let n be an integer greater than 1. Suppose 2n points
are given in the plane, no three of which are collinear. Suppose n of the given
2n points are colored blue and the other n colored red. A line in the plane is
called a balancing line if it passes through one blue and one red point and,
for each side of the line, the number of blue points on that side is equal to
the number of red points on the same side. Prove that there exist at least
two balancing lines.
AoPS discussion thread
11. (USAMO 2008 P4) Let P be a convex polygon with n sides, n ≥ 3. Any set
of n − 3 diagonals of P that do not intersect in the interior of the polygon
determine a triangulation of P into n − 2 triangles. If P is regular and
there is a triangulation of P consisting of only isosceles triangles, find all the
possible values of n.
AoPS discussion thread
12. (USAMO 2011 P6) Let A be a set with |A| = 225, meaning that A has 225
elements. Suppose further that there are eleven subsets A1 , . . . , A11 of A
such that |Ai | = 45 for 1 ≤ i ≤ 11 and |Ai ∩ Aj | = 9 for 1 ≤ i < j ≤ 11.
Prove that |A1 ∪A2 ∪. . .∪A11 | ≥ 165, and give an example for which equality
holds.
AoPS discussion thread
13. (USAMO 2017 P4) Let P1 , P2 , . . . , P2n be 2n distinct points on the unit
circle x2 + y 2 = 1, other than (1, 0). Each point is colored either red or
blue, with exactly n red points and n blue points. Let R1 , R2 , . . . , Rn
be any ordering of the red points. Let B1 be the nearest blue point to R1
traveling counterclockwise around the circle starting from R1 . Then let B2
be the nearest of the remaining blue points to R2 travelling counterclockwise
around the circle from R2 , and so on, until we have labeled all of the blue
points B1 , . . . , Bn . Show that the number of counterclockwise arcs of the
form Ri → Bi that contain the point (1, 0) is independent of the way we
chose the ordering R1 , . . . , Rn of the red points.
AoPS discussion thread
14. (USAMO 2018 P4) Let p be a prime, and let a1 , . . . , ap be integers. Show
that there exists an integer k such that the numbers
a1 + k, a2 + 2k, . . . , ap + pk
15. (USA TST 2015, P5) A tournament is a directed graph for which every (un-
ordered) pair of vertices has a single directed edge from one vertex to the
other. Let us define a proper directed-edge-coloring to be an assignment of
a color to every (directed) edge, so that for every pair of directed edges −
→
uv
and −→ those two edges are in different colors. Note that it is permissible
vw,
for −
→ and −
uv → to be the same color. The directed-edge-chromatic-number of
uw
a tournament is defined to be the minimum total number of colors that can
be used in order to create a proper directed-edge-coloring. For each n, de-
termine the minimum directed-edge-chromatic-number over all tournaments
on n vertices.
AoPS discussion thread
16. (USA TST 2016, P1) Let S = {1, . . . , n}. Given a bijection f : S → S an
orbit of f is a set of the form {x, f (x), f (f (x)), . . . } for some x ∈ S. We
denote by c(f ) the number of distinct orbits of f . For example, if n = 3
and f (1) = 2, f (2) = 1, f (3) = 3, the two orbits are {1, 2} and {3}, hence
c(f ) = 2.
Given k bijections f1 , . . ., fk from S to itself, prove that
2.4 15 M
19. (IMO 2000, P4) A magician has one hundred cards numbered 1 to 100. He
puts them into three boxes, a red one, a white one and a blue one, so that
each box contains at least one card. A member of the audience draws two
cards from two different boxes and announces the sum of numbers on those
cards. Given this information, the magician locates the box from which no
card has been drawn.
How many ways are there to put the cards in the three boxes so that the
trick works?
AoPS discussion thread
20. (IMO 2008, P5) Let n and k be positive integers with k ≥ n and k − n an
even number. Let 2n lamps labelled 1, 2, ..., 2n be given, each of which can
be either on or off. Initially all the lamps are off. We consider sequences of
steps: at each step one of the lamps is switched (from on to off or from off
to on).
Let N be the number of such sequences consisting of k steps and resulting
in the state where lamps 1 through n are all on, and lamps n + 1 through 2n
are all off.
Let M be number of such sequences consisting of k steps, resulting in the
state where lamps 1 through n are all on, and lamps n + 1 through 2n are
all off, but where none of the lamps n + 1 through 2n is ever switched on.
Determine M.
N
n points.
(b) Determine all integers n ≥ 3 for which there exists a balanced centre-free
set consisting of n points.
AoPS discussion thread
23. (IMO 2018, P4) A site is any point (x, y) in the plane such that x and y are
both positive integers less than or equal to 20.
Initially, each of the 400 sites is unoccupied. Amy and Ben take turns placing
stones with Amy going first. On her turn, Amy places a new red stone on
an unoccupied site such that √ the distance between any two sites occupied by
red stones is not equal to 5. On his turn, Ben places a new blue stone on
any unoccupied site. (A site occupied by a blue stone is allowed to be at any
distance from any other occupied site.) They stop as soon as a player cannot
place a stone.
Find the greatest K such that Amy can ensure that she places at least K
red stones, no matter how Ben places his blue stones.
AoPS discussion thread
24. (IMO 2019, P5) The Bank of Bath issues coins with an H on one side and a T
on the other. Harry has n of these coins arranged in a line from left to right.
He repeatedly performs the following operation: if there are exactly k > 0
coins showing H, then he turns over the kth coin from the left; otherwise, all
coins show T and he stops. For example, if n = 3 the process starting with
the configuration T HT would be T HT → HHT → HT T → T T T , which
stops after three operations.
(a) Show that, for each initial configuration, Harry stops after a finite number
of operations.
(b) For each initial configuration C, let L(C) be the number of operations
before Harry stops. For example, L(T HT ) = 3 and L(T T T ) = 0. Determine
the average value of L(C) over all 2n possible initial configurations C.
AoPS discussion thread
25. (IMO 2020, P4) There is an integer n > 1. There are n2 stations on a slope
of a mountain, all at different altitudes. Each of two cable car companies, A
and B, operates k cable cars; each cable car provides a transfer from one of
the stations to a higher one (with no intermediate stops). The k cable cars
of A have k different starting points and k different finishing points, and a
cable car which starts higher also finishes higher. The same conditions hold
for B. We say that two stations are linked by a company if one can start
25
from the lower station and reach the higher one by using one or more cars of
that company (no other movements between stations are allowed).
Determine the smallest positive integer k for which one can guarantee that
there are two stations that are linked by both companies.
AoPS discussion thread
26. (USAMO 2000 P3) A game of solitaire is played with R red cards, W white
cards, and B blue cards. A player plays all the cards one at a time. With
each play he accumulates a penalty. If he plays a blue card, then he is charged
a penalty which is the number of white cards still in his hand. If he plays
a white card, then he is charged a penalty which is twice the number of red
cards still in his hand. If he plays a red card, then he is charged a penalty
which is three times the number of blue cards still in his hand.
Find, as a function of R, W, and B, the minimal total penalty a player can
amass and all the ways in which this minimum can be achieved.
AoPS discussion thread
27. (USAMO 2000 P4) Find the smallest positive integer n such that if n squares
of a 1000 × 1000 chessboard are colored, then there will exist three colored
squares whose centers form a right triangle with sides parallel to the edges
of the board.
AoPS discussion thread
28. (USAMO 2001 P1) Each of eight boxes contains six balls. Each ball has
been colored with one of n colors, such that no two balls in the same box
are the same color, and no two colors occur together in more than one box.
Determine, with justification, the smallest integer n for which this is possible.
AoPS discussion thread
29. (USAMO 2011 P2) An integer is assigned to each vertex of a regular pentagon
so that the sum of the five integers is 2011. A turn of a solitaire game consists
of subtracting an integer m from each of the integers at two neighboring
vertices and adding 2m to the opposite vertex, which is not adjacent to
either of the first two vertices. (The amount m and the vertices chosen can
vary from turn to turn.) The game is won at a certain vertex if, after some
number of turns, that vertex has the number 2011 and the other four vertices
have the number 0. Prove that for any choice of the initial integers, there is
exactly one vertex at which the game can be won.
AoPS discussion thread
30. (USAMO 2014 P4) Let k be a positive integer. Two players A and B play
26
a game on an infinite grid of regular hexagons. Initially all the grid cells are
empty. Then the players alternately take turns with A moving first. In his
move, A may choose two adjacent hexagons in the grid which are empty and
place a counter in both of them. In his move, B may choose any counter on
the board and remove it. If at any time there are k consecutive grid cells in
a line all of which contain a counter, A wins. Find the minimum value of k
for which A cannot win in a finite number of moves, or prove that no such
minimum value exists.
AoPS discussion thread
31. (USAMO 2015 P4) Steve is piling m ≥ 1 indistinguishable stones on the
squares of an n × n grid. Each square can have an arbitrarily high pile
of stones. After he finished piling his stones in some manner, he can then
perform stone moves, defined as follows. Consider any four grid squares,
which are corners of a rectangle, i.e. in positions (i, k), (i, l), (j, k), (j, l) for
some 1 ≤ i, j, k, l ≤ n, such that i < j and k < l. A stone move consists of
either removing one stone from each of (i, k) and (j, l) and moving them to
(i, l) and (j, k) respectively,j or removing one stone from each of (i, l) and
(j, k) and moving them to (i, k) and (j, l) respectively.
Two ways of piling the stones are equivalent if they can be obtained from
one another by a sequence of stone moves.
How many different non-equivalent ways can Steve pile the stones on the
grid?
AoPS discussion thread
32. (USAMO 2016 P1) Let X1 , X2 , . . . , X100 be a sequence of mutually distinct
nonempty subsets of a set S. Any two sets Xi and Xi+1 are disjoint and their
union is not the whole set S, that is, Xi ∩ Xi+1 = ∅ and Xi ∪ Xi+1 6= S, for
all i ∈ {1, . . . , 99}. Find the smallest possible number of elements in S.
AoPS discussion thread
33. (USAMO 2016 P6) Integers n and k are given, with n ≥ k ≥ 2. You play
the following game against an evil wizard.
The wizard has 2n cards; for each i = 1, . . . , n, there are two cards labeled i.
Initially, the wizard places all cards face down in a row, in unknown order.
You may repeatedly make moves of the following form: you point to any k of
the cards. The wizard then turns those cards face up. If any two of the cards
match, the game is over and you win. Otherwise, you must look away, while
the wizard arbitrarily permutes the k chosen cards and then turns them back
27
(The subsequences of a string of length n are the 2n strings which are formed
by deleting some of its characters, possibly all or none, while preserving the
order of the remaining characters.)
AoPS discussion thread
37. (USA TSTST 2018, P2) In the nation of Onewaynia, certain pairs of cities are
connected by one-way roads. Every road connects exactly two cities (roads
are allowed to cross each other, e.g., via bridges), and each pair of cities has
at most one road between them. Moreover, every city has exactly two roads
leaving it and exactly two roads entering it.
We wish to close half the roads of Onewaynia in such a way that every city
has exactly one road leaving it and exactly one road entering it. Show that
the number of ways to do so is a power of 2 greater than 1 (i.e. of the form
2n for some integer n ≥ 1).
AoPS discussion thread
38. (USA TSTST 2019, P4) Consider coins with positive real denominations not
exceeding 1. Find the smallest C > 0 such that the following holds: if we
have any 100 such coins with total value 50, then we can always split them
into two stacks of 50 coins each such that the absolute difference between
the total values of the two stacks is at most C.
AoPS discussion thread
2.5 20 M
39. (IMO 2013, P2) A configuration of 4027 points in the plane is called Colom-
bian if it consists of 2013 red points and 2014 blue points, and no three of the
points of the configuration are collinear. By drawing some lines, the plane is
divided into several regions. An arrangement of lines is good for a Colombian
configuration if the following two conditions are satisfied:
i) No line passes through any point of the configuration.
ii) No region contains points of both colors.
Find the least value of k such that for any Colombian configuration of 4027
points, there is a good arrangement of k lines.
AoPS discussion thread
40. (USAMO 2010 P2) There are n students standing in a circle, one behind the
other. The students have heights h1 < h2 < · · · < hn . If a student with
height hk is standing directly behind a student with height hk−2 or less, the
29
two students are permitted to switch places. Prove that it is not possible
to make more than 3 such switches before reaching a position in which no
n
44. (USA TST 2020, P4) For a finite simple graph G, we define G0 to be the
graph on the same vertex set as G, where for any two vertices u 6= v, the
pair {u, v} is an edge of G0 if and only if u and v have a common neighbor
in G.
Prove that if G is a finite simple graph which is isomorphic to (G0 )0 , then G
is also isomorphic to G0 .
AoPS discussion thread
45. (USA TSTST 2014, P5) Find the maximum number E such that the following
holds: there is an edge-colored graph with 60 vertices and E edges, with
each edge colored either red or blue, such that in that coloring, there is no
monochromatic cycles of length 3 and no monochromatic cycles of length 5.
AoPS discussion thread
46. (USA TSTST 2016, P3) Decide whether or not there exists a nonconstant
polynomial Q(x) with integer coefficients with the following property: for
every positive integer n > 2, the numbers
2.6 25 M
47. (IMO 2001, P3) Twenty-one girls and twenty-one boys took part in a math-
ematical competition. It turned out that each contestant solved at most six
problems, and for each pair of a girl and a boy, there was at least one problem
that was solved by both the girl and the boy. Show that there is a problem
that was solved by at least three girls and at least three boys.
AoPS discussion thread
48. (IMO 2016, P6) There are n ≥ 2 line segments in the plane such that every
two segments cross and no three segments meet at a point. Geoff has to
choose an endpoint of each segment and place a frog on it facing the other
endpoint. Then he will clap his hands n − 1 times. Every time he claps,each
frog will immediately jump forward to the next intersection point on its
segment. Frogs never change the direction of their jumps. Geoff wishes to
place the frogs in such a way that no two of them will ever occupy the same
intersection point at the same time.
(a) Prove that Geoff can always fulfill his wish if n is odd.
31
(b) Prove that Geoff can never fulfill his wish if n is even.
AoPS discussion thread
49. (USAMO 2002 P6) I have an n × n sheet of stamps, from which I’ve been
asked to tear out blocks of three adjacent stamps in a single row or column.
(I can only tear along the perforations separating adjacent stamps, and each
block must come out of the sheet in one piece.) Let b(n) be the smallest
number of blocks I can tear out and make it impossible to tear out any more
blocks. Prove that there are real constants c and d such that
1 2 1
n − cn ≤ b(n) ≤ n2 + dn
7 5
for all n > 0.
AoPS discussion thread
50. (USAMO 2007 P4) An animal with n cells is a connected figure consisting
of n equal-sized cells. The figure below shows an 8-cell animal.
52. (USAMO 2009 P2) Let n be a positive integer. Determine the size of the
largest subset of {−n, −n + 1, . . . , n − 1, n} which does not contain three
elements a, b, c (not necessarily distinct) satisfying a + b + c = 0.
AoPS discussion thread
53. (USAMO 2012 P2) A circle is divided into 432 congruent arcs by 432 points.
The points are colored in four colors such that some 108 points are colored
Red, some 108 points are colored Green, some 108 points are colored Blue,
and the remaining 108 points are colored Yellow. Prove that one can choose
three points of each color in such a way that the four triangles formed by the
chosen points of the same color are congruent.
AoPS discussion thread
54. (USAMO 2013 P2) For a positive integer n ≥ 3 plot n equally spaced points
around a circle. Label one of them A, and place a marker at A. One may
move the marker forward in a clockwise direction to either the next point or
the point after that. Hence there are a total of 2n distinct moves available;
two from each point. Let an count the number of ways to advance around the
circle exactly twice, beginning and ending at A, without repeating a move.
Prove that an−1 + an = 2n for all n ≥ 4.
AoPS discussion thread
55. (USAMO 2015 P3) Let S = {1, 2, . . . , n}, where n ≥ 1. Each of the 2n
subsets of S is to be colored red or blue. (The subset itself is assigned a color
and not its individual elements.) For any set T ⊆ S, we then write f (T ) for
the number of subsets of T that are blue.
Determine the number of colorings that satisfy the following condition: for
any subsets T1 and T2 of S,
that she is sure are currently in the same state. Is there any series of diode
usage that makes this possible?
AoPS discussion thread
57. (USA TSTST 2016, P5) n the coordinate plane are finitely many walls; which
are disjoint line segments, none of which are parallel to either axis. A bull-
dozer starts at an arbitrary point and moves in the +x direction. Every time
it hits a wall, it turns at a right angle to its path, away from the wall, and
continues moving. (Thus the bulldozer always moves parallel to the axes.)
Prove that it is impossible for the bulldozer to hit both sides of every wall.
AoPS discussion thread
58. (USA TSTST 2018, P7) Let n be a positive integer. A frog starts on the
number line at 0. Suppose it makes a finite sequence of hops, subject to two
conditions:
• The frog visits only points in {1, 2, . . . , 2n − 1}, each at most once.
• The length of each hop is in {20 , 21 , 22 , . . . }. (The hops may be either
direction, left or right.)
Let S be the sum of the (positive) lengths of all hops in the sequence. What
is the maximum possible value of S?
AoPS discussion thread
2.7 30 M
59. (IMO 2006, P2) Let P be a regular 2006-gon. A diagonal is called good if
its endpoints divide the boundary of P into two parts, each composed of an
odd number of sides of P . The sides of P are also called good.
Suppose P has been dissected into triangles by 2003 diagonals, no two of
which have a common point in the interior of P . Find the maximum num-
ber of isosceles triangles having two good sides that could appear in such a
configuration.
AoPS discussion thread
60. (IMO 2014, P5) For each positive integer n, the Bank of Cape Town issues
coins of denomination n1 . Given a finite collection of such coins (of not
necessarily different denominations) with total value at most most 99 + 12 ,
prove that it is possible to split this collection into 100 or fewer groups, such
that each group has total value at most 1.
AoPS discussion thread
34
61. (2016, P2) Find all integers n for which each cell of n × n table can be filled
with one of the letters I, M and O in such a way that: in each row and each
column, one third of the entries are I, one third are M and one third are O;
and in any diagonal, if the number of entries on the diagonal is a multiple of
three, then one third of the entries are I, one third are M and one third are
O. Note. The rows and columns of an n × n table are each labelled 1 to n in
a natural order. Thus each cell corresponds to a pair of positive integer (i, j)
with 1 ≤ i, j ≤ n. For n > 1, the table has 4n − 2 diagonals of two types.
A diagonal of first type consists all cells (i, j) for which i + j is a constant,
and the diagonal of this second type consists all cells (i, j) for which i − j is
constant.
AoPS discussion thread
62. (USAMO 2020 P5) A finite set S of points in the coordinate plane is called
overdetermined if |S| ≥ 2 and there exists a nonzero polynomial P (t), with
real coefficients and of degree at most |S| − 2, satisfying P (x) = y for every
point (x, y) ∈ S.
For each integer n ≥ 2, find the largest integer k (in terms of n) such that
there exists a set of n distinct points that is not overdetermined, but has k
overdetermined subsets.
AoPS discussion thread
63. (USA TST 2017, P4) You are cheating at a trivia contest. For each question,
you can peek at each of the n > 1 other contestants’ guesses before writing
down your own. For each question, after all guesses are submitted, the emcee
announces the correct answer. A correct guess is worth 0 points. An incorrect
guess is worth −2 points for other contestants, but only −1 point for you,
since you hacked the scoring system. After announcing the correct answer,
the emcee proceeds to read the next question. Show that if you are leading
by 2n−1 points at any time, then you can surely win first place.
AoPS discussion thread
64. (USA TST 2019, P5) Let n be a positive integer. Tasty and Stacy are given a
circular necklace with 3n sapphire beads and 3n turquoise beads, such that
no three consecutive beads have the same color. They play a cooperative
game where they alternate turns removing three consecutive beads, subject
to the following conditions:
• Tasty must remove three consecutive beads which are turquoise, sap-
phire, and turquoise, in that order, on each of his turns.
• Stacy must remove three consecutive beads which are sapphire, turquoise,
35
2.8 35 M
65. (IMO 2000, P3) Let n ≥ 2 be a positive integer and λ a positive real number.
Initially there are n fleas on a horizontal line, not all at the same point. We
define a move as choosing two fleas at some points A and B, with A to the
left of B, and letting the flea from A jump over the flea from B to the point
C so that BCAB = λ.
Determine all values of λ such that, for any point M on the line and for any
initial position of the n fleas, there exists a sequence of moves that will take
them all to the position right of M .
AoPS discussion thread
66. (IMO 2004, P3) Define a "hook" to be a figure made up of six unit squares
as shown below in the picture, or any of the figures obtained by applying
rotations and reflections to this figure.
Determine all m×n rectangles that can be covered without gaps and without
overlaps with hooks such that
- the rectangle is covered without gaps and without overlaps
- no part of a hook covers area outside the rectangle.
AoPS discussion thread
67. (IMO 2005, P6) In a mathematical competition, in which 6 problems were
posed to the participants, every two of these problems were solved by more
than 25 of the contestants. Moreover, no contestant solved all the 6 problems.
Show that there are at least 2 contestants who solved exactly 5 problems
each.
AoPS discussion thread
68. (IMO 2010, P5) Each of the six boxes B1 , B2 , B3 , B4 , B5 , B6 initially
contains one coin. The following operations are allowed
36
the following form: he may pick a vertex and replace the number written
there by the absolute value of the difference between the numbers written at
the two neighboring vertices. Prove that Bert can make a sequence of moves,
after which the number 0 appears at all six vertices.
AoPS discussion thread
73. (USAMO 2004 P3) For what real values of k > 0 is it possible to dissect a
1 × k rectangle into two similar, but noncongruent, polygons?
AoPS discussion thread
74. (USAMO 2006 P5) A mathematical frog jumps along the number line. The
frog starts at 1, and jumps according to the following rule: if the frog is at
integer n, then it can jump either to n + 1 or to n + 2mn +1 where 2mn is
the largest power of 2 that is a factor of n. Show that if k ≥ 2 is a positive
integer and i is a nonnegative integer, then the minimum number of jumps
needed to reach 2i k is greater than the minimum number of jumps needed
to reach 2i .
AoPS discussion thread
75. (USAMO 2007 P3) Let S be a set containing n2 + n − 1 elements, for some
positive integer n. Suppose that the n-element subsets of S are partitioned
into two classes. Prove that there are at least n pairwise disjoint sets in the
same class.
AoPS discussion thread
76. (USAMO 2008 P3) Let n be a positive integer. Denote by Sn the set of
points (x, y) with integer coordinates such that
1
|x| + y + < n.
2
A path is a sequence of distinct points (x1 , y1 ), (x2 , y2 ), . . . , (x` , y` ) in Sn such
that, for i = 2, . . . , `, the distance between (xi , yi ) and (xi−1 , yi−1 ) is 1 (in
other words, the points (xi , yi ) and (xi−1 , yi−1 ) are neighbors in the lattice
of points with integer coordinates). Prove that the points in Sn cannot be
partitioned into fewer than n paths (a partition of Sn into m paths is a set
P of m nonempty paths such that each point in Sn appears in exactly one
of the m paths in P).
AoPS discussion thread
77. (USA TST 2014, P3) Let n be an even positive integer, and let G be an
2
n-vertex graph with exactly n4 edges, where there are no loops or multiple
edges (each unordered pair of distinct vertices is joined by either 0 or 1 edge).
38
2.9 40 M
78. (IMO 2017, P3) A hunter and an invisible rabbit play a game in the Euclidean
plane. The rabbit’s starting point, A0 , and the hunter’s starting point, B0
are the same. After n − 1 rounds of the game, the rabbit is at point An−1
and the hunter is at point Bn−1 . In the nth round of the game, three things
occur in order:
• The rabbit moves invisibly to a point An such that the distance between
An−1 and An is exactly 1.
• A tracking device reports a point Pn to the hunter. The only guarantee
provided by the tracking device to the hunter is that the distance between
Pn and An is at most 1.
• The hunter moves visibly to a point Bn such that the distance between
Bn−1 and Bn is exactly 1.
Is it always possible, no matter how the rabbit moves, and no matter what
points are reported by the tracking device, for the hunter to choose her moves
so that after 109 rounds, she can ensure that the distance between her and
the rabbit is at most 100?
AoPS discussion thread
79. (IMO 2019, P3) A social network has 2019 users, some pairs of whom are
friends. Whenever user A is friends with user B, user B is also friends with
user A. Events of the following kind may happen repeatedly, one at a time:
Three users A, B, and C such that A is friends with both B and
C, but B and C are not friends, change their friendship statuses
such that B and C are now friends, but A is no longer friends with
B, and no longer friends with C. All other friendship statuses are
unchanged.
Initially, 1010 users have 1009 friends each, and 1009 users have 1010 friends
each. Prove that there exists a sequence of such events after which each user
is friends with at most one other user.
AoPS discussion thread
39
80. (IMO 2020, P3) There are 4n pebbles of weights 1, 2, 3, . . . , 4n. Each pebble
is coloured in one of n colours and there are four pebbles of each colour.
Show that we can arrange the pebbles into two piles so that the following
two conditions are both satisfied:
• The total weights of both piles are the same.
• Each pile contains two pebbles of each colour.
AoPS discussion thread
81. (USAMO 2008 P6) At a certain mathematical conference, every pair of math-
ematicians are either friends or strangers. At mealtime, every participant eats
in one of two large dining rooms. Each mathematician insists upon eating
in a room which contains an even number of his or her friends. Prove that
the number of ways that the mathematicians may be split between the two
rooms is a power of two (i.e., is of the form 2k for some positive integer k).
AoPS discussion thread
82. (USAMO 2017 P2) Let m1 , m2 , . . . , mn be a collection of n positive integers,
not necessarily distinct. For any sequence of integers A = (a1 , . . . , an ) and
any permutation w = w1 , . . . , wn of m1 , . . . , mn , define an A-inversion of
w to be a pair of entries wi , wj with i < j for which one of the following
conditions holds:
• ai ≥ wi > wj
• wj > ai ≥ wi , or
• wi > wj > ai .
Show that, for any two sequences of integers A = (a1 , . . . , an ) and B =
(b1 , . . . , bn ), and for any positive integer k, the number of permutations of
m1 , . . . , mn having exactly k A-inversions is equal to the number of permu-
tations of m1 , . . . , mn having exactly k B-inversions.
AoPS discussion thread
2.10 45 M
83. (IMO 2006, P6) Assign to each side b of a convex polygon P the maximum
area of a triangle that has b as a side and is contained in P . Show that the
sum of the areas assigned to the sides of P is at least twice the area of P .
AoPS discussion thread
84. (IMO 2009, P6) Let a1 , a2 , . . . , an be distinct positive integers and let M
be a set of n − 1 positive integers not containing s = a1 + a2 + . . . + an .
40
A grasshopper is to jump along the real axis, starting at the point 0 and
making n jumps to the right with lengths a1 , a2 , . . . , an in some order. Prove
that the order can be chosen in such a way that the grasshopper never lands
on any point in M.
AoPS discussion thread
85. (IMO 2011, P2) Let S be a finite set of at least two points in the plane.
Assume that no three points of S are collinear. A windmill is a process that
starts with a line ` going through a single point P ∈ S. The line rotates
clockwise about the pivot P until the first time that the line meets some
other point belonging to S. This point, Q, takes over as the new pivot, and
the line now rotates clockwise about Q, until it next meets a point of S. This
process continues indefinitely. Show that we can choose a point P in S and
a line ` going through P such that the resulting windmill uses each point of
S as a pivot infinitely many times.
AoPS discussion thread
86. (IMO 2012, P3) The liar’s guessing game is a game played between two
players A and B. The rules of the game depend on two positive integers k
and n which are known to both players.
At the start of the game A chooses integers x and N with 1 ≤ x ≤ N.
Player A keeps x secret, and truthfully tells N to player B. Player B now
tries to obtain information about x by asking player A questions as follows:
each question consists of B specifying an arbitrary set S of positive integers
(possibly one specified in some previous question), and asking A whether x
belongs to S. Player B may ask as many questions as he wishes. After each
question, player A must immediately answer it with yes or no, but is allowed
to lie as many times as she wants; the only restriction is that, among any
k + 1 consecutive answers, at least one answer must be truthful.
After B has asked as many questions as he wants, he must specify a set X
of at most n positive integers. If x belongs to X, then B wins; otherwise, he
loses. Prove that:
1. If n ≥ 2k , then B can guarantee a win.
2. For all sufficiently large k, there exists an integer n ≥ (1.99)k such that
B cannot guarantee a win.
AoPS discussion thread
87. (IMO 2013, P6) Let n ≥ 3 be an integer, and consider a circle with n + 1
equally spaced points marked on it. Consider all labellings of these points
41
with the numbers 0, 1, . . . , n such that each label is used exactly once; two
such labellings are considered to be the same if one can be obtained from the
other by a rotation of the circle. A labelling is called beautiful if, for any four
labels a < b < c < d with a + d = b + c, the chord joining the points labelled
a and d does not intersect the chord joining the points labelled b and c.
Let M be the number of beautiful labelings, and let N be the number of
ordered pairs (x, y) of positive integers such that x+y ≤ n and gcd(x, y) = 1.
Prove that
M = N + 1.
Does there exist an anti-Pascal triangle with 2018 rows which contains every
integer from 1 to 1 + 2 + 3 + · · · + 2018?
AoPS discussion thread
89. (USAMO 2009 P3) We define a chessboard polygon to be a polygon whose
sides are situated along lines of the form x = a or y = b, where a and b are
integers. These lines divide the interior into unit squares, which are shaded
alternately grey and white so that adjacent squares have different colors.
To tile a chessboard polygon by dominoes is to exactly cover the polygon by
non-overlapping 1×2 rectangles. Finally, a tasteful tiling is one which avoids
the two configurations of dominoes shown on the left below. Two tilings of
a 3 × 4 rectangle are shown; the first one is tasteful, while the second is not,
due to the vertical dominoes in the upper right corner.
42
S = {(x, y) ∈ Z2 | m ≤ x2 + y 2 ≤ n}
for some positive integers m and n, then Bob can win. (Bob does not know
in advance that S is of this form.)
AoPS discussion thread
43
94. (USA TST 2020, P3) Let α ≥ 1 be a real number. Hephaestus and Poseidon
play a turn-based game on an infinite grid of unit squares. Before the game
starts, Poseidon chooses a finite number of cells to be flooded. Hephaestus
is building a levee, which is a subset of unit edges of the grid (called walls)
forming a connected, non-self-intersecting path or loop*.
The game then begins with Hephaestus moving first. On each of Hephaestus’s
turns, he adds one or more walls to the levee, as long as the total length of
the levee is at most αn after his nth turn. On each of Poseidon’s turns, every
cell which is adjacent to an already flooded cell and with no wall between
them becomes flooded as well. Hephaestus wins if the levee forms a closed
loop such that all flooded cells are contained in the interior of the loop —
hence stopping the flood and saving the world. For which α can Hephaestus
guarantee victory in a finite number of turns no matter how Poseidon chooses
the initial cells to flood?
* More formally, there must exist lattice points A0 , A1 , . . . , Ak , pairwise
distinct except possibly A0 = Ak , such that the set of walls is exactly
A0 A1 , A1 A2 , . . . , Ak−1 Ak . Once a wall is built it cannot be destroyed; in
particular, if the levee is a closed loop (i.e. A0 = Ak ) then Hephaestus can-
not add more walls. Since each wall has length 1, the length of the levee is
k.
AoPS discussion thread
95. (USA TSTST 2018, P9) Show that there is an absolute constant c < 1 with
the following property: whenever P is a polygon with area 1 in the plane,
one can translate it by a distance of 100
1
in some direction to obtain a polygon
Q, for which the intersection of the interiors of P and Q has total area at
most c.
AoPS discussion thread
96. (USA TSTST 2019, P3) On an infinite square grid we place finitely many
cars, which each occupy a single cell and face in one of the four cardinal
directions. Cars may never occupy the same cell. It is given that the cell
immediately in front of each car is empty, and moreover no two cars face
towards each other (no right-facing car is to the left of a left-facing car within
a row, etc.). In a move, one chooses a car and shifts it one cell forward to a
vacant cell. Prove that there exists an infinite sequence of valid moves using
each car infinitely many times.
AoPS discussion thread
44
2.11 50 M
97. (IMO 2007, P3) In a mathematical competition some competitors are friends.
Friendship is always mutual. Call a group of competitors a clique if each two
of them are friends. (In particular, any group of fewer than two competitiors
is a clique.) The number of members of a clique is called its size.
Given that, in this competition, the largest size of a clique is even, prove that
the competitors can be arranged into two rooms such that the largest size
of a clique contained in one room is the same as the largest size of a clique
contained in the other room.
AoPS discussion thread
98. (IMO 2020, P6) Prove that there exists a positive constant c such that the
following statement is true: Consider an integer n > 1, and a set S of n
points in the plane such that the distance between any two different points
in S is at least 1. It follows that there is a line ` separating S such that the
distance from any point of S to ` is at least cn−1/3 .
(A line ` separates a set of points S if some segment joining two points in S
crosses `.)
Note. Weaker results with cn−1/3 replaced by cn−α may be awarded points
depending on the value of the constant α > 1/3.
AoPS discussion thread
99. (USAMO 2013 P3) Let n be a positive integer. There are n(n+1) 2 marks, each
with a black side and a white side, arranged into an equilateral triangle, with
the biggest row containing n marks. Initially, each mark has the black side
up. An operation is to choose a line parallel to the sides of the triangle, and
flipping all the marks on that line. A configuration is called admissible if it
can be obtained from the initial configuration by performing a finite num-
ber of operations. For each admissible configuration C, let f (C) denote the
smallest number of operations required to obtain C from the initial configu-
ration. Find the maximum value of f (C), where C varies over all admissible
configurations.
AoPS discussion thread
100. (USAMO 2017 P5) Let Z denote the set of all integers. Find all real numbers
c > 0 such that there exists a labeling of the lattice points (x, y) ∈ Z2 with
positive integers for which:
• only finitely many distinct labels occur, and
45
• for each label i, the distance between any two points labeled i is at least
ci .
AoPS discussion thread
101. (USA TST 2019, P3) A snake of length k is an animal which occupies an
ordered k-tuple (s1 , . . . , sk ) of cells in a n × n grid of square unit cells.
These cells must be pairwise distinct, and si and si+1 must share a side
for i = 1, . . . , k − 1. If the snake is currently occupying (s1 , . . . , sk ) and
s is an unoccupied cell sharing a side with s1 , the snake can move to oc-
cupy (s, s1 , . . . , sk−1 ) instead. The snake has turned around if it occupied
(s1 , s2 , . . . , sk ) at the beginning, but after a finite number of moves occupies
(sk , sk−1 , . . . , s1 ) instead.
Determine whether there exists an integer n > 1 such that: one can place
some snake of length 0.9n2 in an n × n grid which can turn around.
AoPS discussion thread
2.12 55 M
102. (USA TSTST 2015, P6) A Nim-style game is defined as follows. Two positive
integers k and n are specified, along with a finite set S of k-tuples of integers
(not necessarily positive). At the start of the game, the k-tuple (n, 0, 0, ..., 0)
is written on the blackboard. A legal move consists of erasing the tuple
(a1 , a2 , ..., ak ) which is written on the blackboard and replacing it with (a1 +
b1 , a2 + b2 , ..., ak + bk ), where (b1 , b2 , ..., bk ) is an element of the set S. Two
players take turns making legal moves, and the first to write a negative integer
loses. In the event that neither player is ever forced to write a negative
integer, the game is a draw. Prove that there is a choice of k and S with the
following property: the first player has a winning strategy if n is a power of
2, and otherwise the second player has a winning strategy.
AoPS discussion thread
46
3 Geometry
3.1 5M
1. (IMO 2004, P1) Let ABC be an acute-angled triangle with AB 6= AC.
The circle with diameter BC intersects the sides AB and AC at M and N
respectively. Denote by O the midpoint of the side BC. The bisectors of the
angles ∠BAC and ∠M ON intersect at R. Prove that the circumcircles of
the triangles BM R and CN R have a common point lying on the side BC.
AoPS discussion thread
2. (IMO 2006, P1) Let ABC be triangle with incenter I. A point P in the
interior of the triangle satisfies
∠P BA + ∠P CA = ∠P BC + ∠P CB.
Show that AP ≥ AI, and that equality holds if and only if P = I.
AoPS discussion thread
3. (IMO 2007, P4) In triangle ABC the bisector of angle BCA intersects the
circumcircle again at R, the perpendicular bisector of BC at P , and the
perpendicular bisector of AC at Q. The midpoint of BC is K and the
midpoint of AC is L. Prove that the triangles RP K and RQL have the
same area.
AoPS discussion thread
4. (IMO 2012, P1) Given triangle ABC the point J is the centre of the excircle
opposite the vertex A. This excircle is tangent to the side BC at M , and
to the lines AB and AC at K and L, respectively. The lines LM and BJ
meet at F , and the lines KM and CJ meet at G. Let S be the point of
intersection of the lines AF and BC, and let T be the point of intersection
of the lines AG and BC. Prove that M is the midpoint of ST.
(The excircle of ABC opposite the vertex A is the circle that is tangent to
the line segment BC, to the ray AB beyond B, and to the ray AC beyond
C.)
AoPS discussion thread
5. (IMO 2014, P4) Let P and Q be on segment BC of an acute triangle ABC
such that ∠P AB = ∠BCA and ∠CAQ = ∠ABC. Let M and N be the
points on AP and AQ, respectively, such that P is the midpoint of AM and
Q is the midpoint of AN . Prove that the intersection of BM and CN is on
the circumference of triangle ABC.
AoPS discussion thread
47
6. (USAMO 2001 P4) Let P be a point in the plane of triangle ABC such that
the segments P A, P B, and P C are the sides of an obtuse triangle. Assume
that in this triangle the obtuse angle opposes the side congruent to P A.
Prove that ∠BAC is acute.
AoPS discussion thread
7. (USAMO 2003 P4) Let ABC be a triangle. A circle passing through A and
B intersects segments AC and BC at D and E, respectively. Lines AB
and DE intersect at F , while lines BD and CF intersect at M . Prove that
M F = M C if and only if M B · M D = M C 2 .
AoPS discussion thread
8. (USAMO 2004 P1) Let ABCD be a quadrilateral circumscribed about a
circle, whose interior and exterior angles are at least 60 degrees. Prove that
1
|AB 3 − AD3 | ≤ |BC 3 − CD3 | ≤ 3|AB 3 − AD3 |.
3
When does equality hold?
AoPS discussion thread
9. (USAMO 2010 P1) Let AXY ZB be a convex pentagon inscribed in a semi-
circle of diameter AB. Denote by P , Q, R, S the feet of the perpendiculars
from Y onto lines AX, BX, AZ, BZ, respectively. Prove that the acute
angle formed by lines P Q and RS is half the size of ∠XOZ, where O is the
midpoint of segment AB.
AoPS discussion thread
10. (USAMO 2010 P4) Let ABC be a triangle with ∠A = 90◦ . Points D and
E lie on sides AC and AB, respectively, such that ∠ABD = ∠DBC and
∠ACE = ∠ECB. Segments BD and CE meet at I. Determine whether or
not it is possible for segments AB, AC, BI, ID, CI, IE to all have integer
lengths.
AoPS discussion thread
11. (USAMO 2020 P1) Let ABC be a fixed acute triangle inscribed in a circle
ω with center O. A variable point X is chosen on minor arc AB of ω, and
segments CX and AB meet at D. Denote by O1 and O2 the circumcenters
of triangles ADX and BDX, respectively. Determine all points X for which
the area of triangle OO1 O2 is minimized.
AoPS discussion thread
48
3.2 10 M
12. (IMO 2000, P1) Two circles G1 and G2 intersect at two points M and N .
Let AB be the line tangent to these circles at A and B, respectively, so that
M lies closer to AB than N . Let CD be the line parallel to AB and passing
through the point M , with C on G1 and D on G2 . Lines AC and BD meet
at E; lines AN and CD meet at P ; lines BN and CD meet at Q. Show
that EP = EQ.
AoPS discussion thread
13. (IMO 2001, P1) Consider an acute-angled triangle ABC. Let P be the foot
of the altitude of triangle ABC issuing from the vertex A, and let O be the
circumcenter of triangle ABC. Assume that ∠C ≥ ∠B + 30◦ . Prove that
∠A + ∠COP < 90◦ .
AoPS discussion thread
14. (IMO 2002, P2) The circle S has center O, and BC is a diameter of S. Let
A be a point of S such that ∠AOB < 120◦ . Let D be the midpoint of the
arc AB which does not contain C. The line through O parallel to DA meets
the line AC at I. The perpendicular bisector of OA meets S at E and at F .
Prove that I is the incentre of the triangle CEF .
AoPS discussion thread
15. (IMO 2003, P4) Let ABCD be a cyclic quadrilateral. Let P , Q, R be the
feet of the perpendiculars from D to the lines BC, CA, AB, respectively.
Show that P Q = QR if and only if the bisectors of ∠ABC and ∠ADC are
concurrent with AC.
AoPS discussion thread
16. (IMO 2008, P1) Let H be the orthocenter of an acute-angled triangle ABC.
The circle ΓA centered at the midpoint of BC and passing through H inter-
sects the sideline BC at points A1 and A2 . Similarly, define the points B1 ,
B2 , C1 and C2 .
Prove that the six points A1 , A2 , B1 , B2 , C1 and C2 are concyclic.
AoPS discussion thread
17. (IMO 2010, P4) Let P be a point interior to triangle ABC (with CA 6= CB).
The lines AP , BP and CP meet again its circumcircle Γ at K, L, respectively
M . The tangent line at C to Γ meets the line AB at S. Show that from
SC = SP follows M K = M L.
AoPS discussion thread
49
18. (IMO 2013, P4) Let ABC be an acute triangle with orthocenter H, and let
W be a point on the side BC, lying strictly between B and C. The points
M and N are the feet of the altitudes from B and C, respectively. Denote by
ω1 is the circumcircle of BW N , and let X be the point on ω1 such that W X
is a diameter of ω1 . Analogously, denote by ω2 the circumcircle of triangle
CW M , and let Y be the point such that W Y is a diameter of ω2 . Prove
that X, Y and H are collinear.
AoPS discussion thread
19. (IMO 2018, P1) Let Γ be the circumcircle of acute triangle ABC. Points D
and E are on segments AB and AC respectively such that AD = AE. The
perpendicular bisectors of BD and CE intersect minor arcs AB and AC of
Γ at points F and G respectively. Prove that lines DE and F G are either
parallel or they are the same line.
AoPS discussion thread
20. (IMO 2020, P1) Consider the convex quadrilateral ABCD. The point P is
in the interior of ABCD. The following ratio equalities hold:
Prove that the following three lines meet in a point: the internal bisectors of
angles ∠ADP and ∠P CB and the perpendicular bisector of segment AB.
AoPS discussion thread
21. (USAMO 2000 P5) Let A1 A2 A3 be a triangle and let ω1 be a circle in its
plane passing through A1 and A2 . Suppose there exist circles ω2 , ω3 , . . . , ω7
such that for k = 2, 3, . . . , 7, ωk is externally tangent to ωk−1 and passes
through Ak and Ak+1 , where An+3 = An for all n ≥ 1. Prove that ω7 = ω1 .
AoPS discussion thread
22. (USAMO 2001 P2) Let ABC be a triangle and let ω be its incircle. Denote by
D1 and E1 the points where ω is tangent to sides BC and AC, respectively.
Denote by D2 and E2 the points on sides BC and AC, respectively, such that
CD2 = BD1 and CE2 = AE1 , and denote by P the point of intersection of
segments AD2 and BE2 . Circle ω intersects segment AD2 at two points, the
closer of which to the vertex A is denoted by Q. Prove that AQ = D2 P .
AoPS discussion thread
23. (USAMO 2009 P1) Given circles ω1 and ω2 intersecting at points X and Y ,
let `1 be a line through the center of ω1 intersecting ω2 at points P and Q
and let `2 be a line through the center of ω2 intersecting ω1 at points R and
50
S. Prove that if P, Q, R and S lie on a circle then the center of this circle
lies on line XY .
AoPS discussion thread
24. (USA TST 2014, P1) Let ABC be an acute triangle, and let X be a variable
interior point on the minor arc BC of its circumcircle. Let P and Q be the
feet of the perpendiculars from X to lines CA and CB, respectively. Let R
be the intersection of line P Q and the perpendicular from B to AC. Let `
be the line through P parallel to XR. Prove that as X varies along minor
arc BC, the line ` always passes through a fixed point. (Specifically: prove
that there is a point F , determined by triangle ABC, such that no matter
where X is on arc BC, line ` passes through F .)
AoPS discussion thread
25. (USA TST 2014, P5) Let ABCD be a cyclic quadrilateral, and let E, F ,
G, and H be the midpoints of AB, BC, CD, and DA respectively. Let W ,
X, Y and Z be the orthocenters of triangles AHE, BEF , CF G and DGH,
respectively. Prove that the quadrilaterals ABCD and W XY Z have the
same area.
AoPS discussion thread
26. (USA TSTST 2017, P1) Let ABC be a triangle with circumcircle Γ, circum-
center O, and orthocenter H. Assume that AB 6= AC and that ∠A 6= 90◦ .
Let M and N be the midpoints of sides AB and AC, respectively, and let E
and F be the feet of the altitudes from B and C in 4ABC, respectively. Let
P be the intersection of line M N with the tangent line to Γ at A. Let Q be
the intersection point, other than A, of Γ with the circumcircle of 4AEF .
Let R be the intersection of lines AQ and EF . Prove that P R ⊥ OH.
AoPS discussion thread
3.3 15 M
27. (IMO 2001, P5) Let ABC be a triangle with ∠BAC = 60◦ . Let AP bisect
∠BAC and let BQ bisect ∠ABC, with P on BC and Q on AC. If AB +
BP = AQ + QB, what are the angles of the triangle?
AoPS discussion thread
28. (IMO 2007, P2) Consider five points A, B, C, D and E such that ABCD is
a parallelogram and BCED is a cyclic quadrilateral. Let ` be a line passing
through A. Suppose that ` intersects the interior of the segment DC at F
and intersects line BC at G. Suppose also that EF = EG = EC. Prove
51
3.4 20 M
40. (IMO 2004, P5) In a convex quadrilateral ABCD, the diagonal BD bisects
neither the angle ABC nor the angle CDA. The point P lies inside ABCD
and satisfies
3.5 25 M
51. (IMO 2005, P5) Let ABCD be a fixed convex quadrilateral with BC = DA
and BC not parallel with DA. Let two variable points E and F lie of the
sides BC and DA, respectively and satisfy BE = DF . The lines AC and
BD meet at P , the lines BD and EF meet at Q, the lines EF and AC meet
at R.
Prove that the circumcircles of the triangles P QR, as E and F vary, have a
common point other than P .
AoPS discussion thread
52. (IMO 2012, P5) Let ABC be a triangle with ∠BCA = 90◦ , and let D be
the foot of the altitude from C. Let X be a point in the interior of the
segment CD. Let K be the point on the segment AX such that BK = BC.
Similarly, let L be the point on the segment BX such that AL = AC. Let
M be the point of intersection of AL and BK.
Show that M K = M L.
AoPS discussion thread
53. (IMO 2015, P3) Let ABC be an acute triangle with AB > AC. Let Γ be its
circumcircle, H its orthocenter, and F the foot of the altitude from A. Let
M be the midpoint of BC. Let Q be the point on Γ such that ∠HQA = 90◦
and let K be the point on Γ such that ∠HKQ = 90◦ . Assume that the
points A, B, C, K and Q are all different and lie on Γ in this order.
Prove that the circumcircles of triangles KQH and F KM are tangent to
each other.
AoPS discussion thread
56
54. (IMO 2019, P2) In triangle ABC, point A1 lies on side BC and point B1 lies
on side AC. Let P and Q be points on segments AA1 and BB1 , respectively,
such that P Q is parallel to AB. Let P1 be a point on line P B1 , such that
B1 lies strictly between P and P1 , and ∠P P1 C = ∠BAC. Similarly, let Q1
be the point on line QA1 , such that A1 lies strictly between Q and Q1 , and
∠CQ1 Q = ∠CBA.
Prove that points P, Q, P1 , and Q1 are concyclic.
AoPS discussion thread
55. (USAMO 2003 P2) A convex polygon P in the plane is dissected into smaller
convex polygons by drawing all of its diagonals. The lengths of all sides and
all diagonals of the polygon P are rational numbers. Prove that the lengths
of all sides of all polygons in the dissection are also rational numbers.
AoPS discussion thread
56. (USAMO 2008 P2) Let ABC be an acute, scalene triangle, and let M , N , and
P be the midpoints of BC, CA, and AB, respectively. Let the perpendicular
bisectors of AB and AC intersect ray AM in points D and E respectively,
and let lines BD and CE intersect in point F , inside of triangle ABC. Prove
that points A, N , F , and P all lie on one circle.
AoPS discussion thread
57. (USAMO 2009 P5) Trapezoid ABCD, with AB||CD, is inscribed in circle
ω and point G lies inside triangle BCD. Rays AG and BG meet ω again at
points P and Q, respectively. Let the line through G parallel to AB intersects
BD and BC at points R and S, respectively. Prove that quadrilateral P QRS
is cyclic if and only if BG bisects ∠CBD.
AoPS discussion thread
58. (USAMO 2012 P5) Let P be a point in the plane of 4ABC, and γ a line
passing through P . Let A0 , B 0 , C 0 be the points where the reflections of
lines P A, P B, P C with respect to γ intersect lines BC, AC, AB respectively.
Prove that A0 , B 0 , C 0 are collinear.
AoPS discussion thread
59. (USAMO 2013 P6) Let ABC be a triangle. Find all points P on segment
BC satisfying the following property: If X and Y are the intersections of line
P A with the common external tangent lines of the circumcircles of triangles
P AB and P AC, then
2
PA PB · PC
+ = 1.
XY AB · AC
57
3.6 30 M
65. (USA TST 2017, P5) Let ABC be a triangle with altitude AE. The A-
excircle touches BC at D, and intersects the circumcircle at two points F
and G. Prove that one can select points V and N on lines DG and DF such
that quadrilateral EV AN is a rhombus.
AoPS discussion thread
66. (USA TST 2018, P5) Let ABCD be a convex cyclic quadrilateral which is
not a kite, but whose diagonals are perpendicular and meet at H. Denote
by M and N the midpoints of BC and CD. Rays M H and N H meet AD
and AB at S and T , respectively. Prove that there exists a point E, lying
outside quadrilateral ABCD, such that
• ray EH bisects both angles ∠BES, ∠T ED, and
• ∠BEN = ∠M ED.
AoPS discussion thread
67. (USA TSTST 2016, P2) Let ABC be a scalene triangle with orthocenter H
and circumcenter O. Denote by M , N the midpoints of AH, BC. Suppose
the circle γ with diameter AH meets the circumcircle of ABC at G 6= A,
and meets line AN at a point Q 6= A. The tangent to γ at G meets line
OM at P . Show that the circumcircles of 4GN Q and 4M BC intersect at
a point T on P N .
AoPS discussion thread
68. (USA TSTST 2018, P3) Let ABC be an acute triangle with incenter I,
circumcenter O, and circumcircle Γ. Let M be the midpoint of AB. Ray
AI meets BC at D. Denote by ω and γ the circumcircles of 4BIC and
4BAD, respectively. Line M O meets ω at X and Y , while line CO meets
ω at C and Q. Assume that Q lies inside 4ABC and ∠AQM = ∠ACB.
Consider the tangents to ω at X and Y and the tangents to γ at A and D.
Given that ∠BAC 6= 60◦ , prove that these four lines are concurrent on Γ.
AoPS discussion thread
3.7 35 M
69. (IMO 2000, P6) Let AH1 , BH2 , CH3 be the altitudes of an acute angled
triangle ABC. Its incircle touches the sides BC, AC and AB at T1 , T2 and
T3 respectively. Consider the symmetric images of the lines H1 H2 , H2 H3 and
59
3.8 40 M
76. (IMO 2003, P3) Each pair of opposite sides of a convex hexagon has √ the
3
following property: the distance between their midpoints is equal to
2
times the sum of their lengths. Prove that all the angles of the hexagon are
equal.
AoPS discussion thread
77. (IMO 2008, P6) Let ABCD be a convex quadrilateral with BA 6= BC.
Denote the incircles of triangles ABC and ADC by ω1 and ω2 respectively.
Suppose that there exists a circle ω tangent to ray BA beyond A and to the
ray BC beyond C, which is also tangent to the lines AD and CD. Prove
that the common external tangents to ω1 and ω2 intersect on ω.
AoPS discussion thread
78. (IMO 2014, P3) Convex quadrilateral ABCD has ∠ABC = ∠CDA = 90◦ .
Point H is the foot of the perpendicular from A to BD. Points S and T lie
on sides AB and AD, respectively, such that H lies inside triangle SCT and
3.9 45 M
83. (IMO 2002, P6) Let n ≥ 3 be a positive integer. Let C1 , C2 , C3 , . . . , Cn be
unit circles in the plane, with centres O1 , O2 , O3 , . . . , On respectively. If no
line meets more than two of the circles, prove that
X 1 (n − 1)π
≤ .
1≤i<j≤n
Oi O j 4
85. (IMO 2018, P6) A convex quadrilateral ABCD satisfies AB·CD = BC ·DA.
Point X lies inside ABCD so that
3.10 50 M
3.11 55 M
89. (USA TST 2020, P6) Let P1 P2 · · · P100 be a cyclic 100-gon and let Pi = Pi+100
for all i. Define Qi as the intersection of diagonals Pi−2 Pi+1 and Pi−1 Pi+2 for
all integers i.
Suppose there exists a point P satisfying P Pi ⊥ Pi−1 Pi+1 for all integers i.
Prove that the points Q1 , Q2 , . . . , Q100 are concyclic.
AoPS discussion thread
63
4 Number Theory
4.1 0M
1. (USAMO 2003 P1) Prove that for every positive integer n there exists an
n-digit number divisible by 5n all of whose digits are odd.
AoPS discussion thread
4.2 5M
2. (IMO 2002, P4) Let n ≥ 2 be a positive integer, with divisors
1 = d1 < d2 < . . . < dk = n.
Prove that d1 d2 + d2 d3 + . . . + dk−1 dk is always less than n2 , and determine
when it is a divisor of n2 .
AoPS discussion thread
3. (IMO 2009, P1) Let n be a positive integer and let a1 , a2 , a3 , . . . , ak (k ≥ 2)
be distinct integers in the set 1, 2, . . . , n such that n divides ai (ai+1 − 1) for
i = 1, 2, . . . , k − 1. Prove that n does not divide ak (a1 − 1).
AoPS discussion thread
4. (IMO 2013, P1) Assume that k and n are two positive integers. Prove that
there exist positive integers m1 , . . . , mk such that
2k − 1
1 1
1+ = 1+ ··· 1 + .
n m1 mk
2a + 3b + 5c = n!.
4.3 10 M
10. (IMO 2005, P4) Determine all positive integers relatively prime to all the
terms of the infinite sequence
an = 2n + 3n + 6n − 1, n ≥ 1.
1 + 2x + 22x+1 = y 2 .
13. (IMO 2016, P4) A set of postive integers is called fragrant if it contains at
least two elements and each of its elements has a prime factor in common
with at least one of the other elements. Let P (n) = n2 + n + 1. What is the
least possible positive integer value of b such that there exists a non-negative
integer a for which the set
{P (a + 1), P (a + 2), . . . , P (a + b)}
is fragrant?
AoPS discussion thread
14. (IMO 2019, P4) Find all pairs (k, n) of positive integers such that
k! = (2n − 1)(2n − 2)(2n − 4) · · · (2n − 2n−1 ).
19. (USA TSTST 2015, P5) Let ϕ(n) denote the number of positive integers
less than n that are relatively prime to n. Prove that there exists a positive
integer m for which the equation ϕ(n) = m has at least 2015 solutions in n.
AoPS discussion thread
20. (USA TSTST 2018, P1) As usual, let Z[x] denote the set of single-variable
polynomials in x with integer coefficients. Find all functions θ : Z[x] → Z
such that for any polynomials p, q ∈ Z[x],
• θ(p + 1) = θ(p) + 1, and
• if θ(p) 6= 0 then θ(p) divides θ(p · q).
AoPS discussion thread
21. (USA TSTST 2018, P4) For an integer n > 0, denote by F(n) the set of
integers m > 0 for which the polynomial p(x) = x2 + mx + n has an integer
root.
(1) Let S denote the set of integers n > 0 for which F(n) contains two
consecutive integers. Show that S is infinite but
X1
≤ 1.
n
n∈S
(2) Prove that there are infinitely many positive integers n such that F(n)
contains three consecutive integers.
AoPS discussion thread
22. (USA TSTST 2019, P7) Let f : Z → {1, 2, . . . , 10100 } be a function satisfying
for all integers x and y. Show that there exist positive integers m and n such
that f (x) = gcd(m + x, n) for all integers x.
AoPS discussion thread
4.4 15 M
23. (IMO 2011, P5) Let f be a function from the set of integers to the set of
positive integers. Suppose that, for any two integers m and n, the difference
f (m) − f (n) is divisible by f (m − n). Prove that, for all integers m and n
with f (m) ≤ f (n), the number f (n) is divisible by f (m).
AoPS discussion thread
67
board, where m and n are relatively prime positive integers. At any point,
Evan may pick two of the numbers x and y written on the board and write
either their arithmetic mean x+y
2 or their harmonic mean x+y on the board
2xy
as well. Find all pairs (m, n) such that Evan can write 1 on the board in
finitely many steps.
AoPS discussion thread
4.5 20 M
28. (IMO 2000 Problem 5) Does there exist a positive integer n such that n has
exactly 2000 prime divisors and n divides 2n + 1?
AoPS discussion thread
29. (IMO 2018, P5) Let a1 , a2 , . . . be an infinite sequence of positive integers.
Suppose that there is an integer N > 1 such that, for each n ≥ N , the
number
a1 a2 an−1 an
+ + ··· + +
a2 a3 an a1
is an integer. Prove that there is a positive integer M such that am = am+1
for all m ≥ M .
AoPS discussion thread
68
30. (IMO 2020, P5) A deck of n > 1 cards is given. A positive integer is written
on each card. The deck has the property that the arithmetic mean of the
numbers on each pair of cards is also the geometric mean of the numbers on
some collection of one or more cards. For which n does it follow that the
numbers on the cards are all equal?
AoPS discussion thread
31. (USAMO 2004 P2) Suppose a1 , . . . , an are integers whose greatest common
divisor is 1. Let S be a set of integers with the following properties:
(a) For i = 1, . . . , n, ai ∈ S.
(b) For i, j = 1, . . . , n (not necessarily distinct), ai − aj ∈ S.
(c) For any integers x, y ∈ S, if x + y ∈ S, then x − y ∈ S.
Prove that S must be equal to the set of all integers.
AoPS discussion thread
32. (USA TSTST 2018, P8) For which positive integers b > 2 do there exist
infinitely many positive integers n such that n2 divides bn + 1?
AoPS discussion thread
4.6 25 M
33. (IMO 2007, P5) Let a and b be positive integers. Show that if 4ab − 1 divides
(4a2 − 1)2 , then a = b.
AoPS discussion thread
34. (USAMO 2001 P5) Let S be a set of integers (not necessarily positive) such
that
(a) there exist a, b ∈ S with gcd(a, b) = gcd(a − 2, b − 2) = 1; (b) if x and
y are elements of S (possibly equal), then x2 − y also belongs to S.
Prove that S is the set of all integers.
AoPS discussion thread
35. (USAMO 2007 P5) Prove that for every nonnegative integer n, the number
n
77 + 1 is the product of at least 2n + 3 (not necessarily distinct) primes.
AoPS discussion thread
36. (USAMO 2009 P6) Let s1 , s2 , s3 , . . . be an infinite, nonconstant sequence of
rational numbers, meaning it is not the case that s1 = s2 = s3 = . . . . Suppose
that t1 , t2 , t3 , . . . is also an infinite, nonconstant sequence of rational numbers
69
with the property that (si − sj )(ti − tj ) is an integer for all i and j. Prove
that there exists a rational number r such that (si − sj )r and (ti − tj )/r are
integers for all i and j.
AoPS discussion thread
37. (USA TST 2015, P2) Prove that for every n ∈ N, there exists a set S of n
positive integers such that for any two distinct a, b ∈ S, a − b divides a and
b but none of the other elements of S.
AoPS discussion thread
38. (USA TST 2018, P1) Let n ≥ 2 be a positive integer, and let σ(n) denote the
sum of the positive divisors of n. Prove that the nth smallest positive integer
relatively prime to n is at least σ(n), and determine for which n equality
holds.
AoPS discussion thread
39. (USA TST 2020, P5) Find all integers n ≥ 2 for which there exists an integer
m and a polynomial P (x) with integer coefficients satisfying the following
three conditions:
• m > 1 and gcd(m, n) = 1;
• the numbers P (0), P 2 (0), . . ., P m−1 (0) are not divisible by n; and
• P m (0) is divisible by n. Here P k means P applied k times, so P 1 (0) =
P (0), P 2 (0) = P (P (0)), etc.
AoPS discussion thread
40. (USA TSTST 2014, P6) Suppose we have distinct positive integers a, b, c, d,
and an odd prime p not dividing any of them, and an integer M such that if
one considers the infinite sequence
ca − db
ca2 − db2
ca3 − db3
ca4 − db4
..
.
and looks at the highest power of p that divides each of them, these powers
are not all zero, and are all at most M .
Prove that there exists some T (which may depend on a, b, c, d, p, M ) such
that whenever p divides an element of this sequence, the maximum power of
p that divides that element is exactly pT . AoPS discussion thread
70
4.7 30 M
41. (IMO 2006, P5) Let P (x) be a polynomial of degree n > 1 with integer
coefficients and let k be a positive integer. Consider the polynomial Q(x) =
P (P (. . . P (P (x)) . . .)), where P occurs k times. Prove that there are at most
n integers t such that Q(t) = t.
AoPS discussion thread
42. (IMO 2008, P3) Prove that there are infinitely many
√ positive integers n such
that n2 + 1 has a prime divisor greater than 2n + 2n
AoPS discussion thread
43. (IMO 2015, P2) Find all positive integers (a, b, c) such that
ab − c, bc − a, ca − b
4.8 35 M
48. (IMO 2003, P2) Determine all pairs of positive integers (a, b) such that
a2
2ab2 − b3 + 1
is a positive integer.
AoPS discussion thread
49. (IMO 2003, P6) Let p be a prime number. Prove that there exists a prime
number q such that for every integer n, the number np − p is not divisible
by q.
AoPS discussion thread
50. (IMO 2004, P6) We call a positive integer alternating if every two consecutive
digits in its decimal representation are of different parity.
Find all positive integers n such that n has a multiple which is alternating.
AoPS discussion thread
51. (USAMO 2005 P6) For m a positive integer, let s(m) be the sum of the digits
of m. For n ≥ 2, let f (n) be the minimal
! k for which there exists a set S of n
X
positive integers such that s x = k for any nonempty subset X ⊂ S.
x∈X
Prove that there are constants 0 < C1 < C2 with
C1 log10 n ≤ f (n) ≤ C2 log10 n.
72
{p f n2 − 2n}n≥0
4.9 40 M
55. (IMO 2016, P3) Let P = A1 A2 · · · Ak be a convex polygon in the plane. The
vertices A1 , A2 , . . . , Ak have integral coordinates and lie on a circle. Let S
be the area of P . An odd positive integer n is given such that the squares of
the side lengths of P are integers divisible by n. Prove that 2S is an integer
divisible by n
AoPS discussion thread
56. (IMO 2017, P6) An ordered pair (x, y) of integers is a primitive point if the
greatest common divisor of x and y is 1. Given a finite set S of primitive
points, prove that there exist a positive integer n and integers a0 , a1 , . . . , an
such that, for each (x, y) in S, we have:
4.10 45 M
64. (USAMO 2018 P3) For a given integer n ≥ 2, let {a1 , a2 , . . . , am } be the set
of positive integers less than n that are relatively prime to n. Prove that if
every prime that divides m also divides n, then ak1 + ak2 + · · · + akm is divisible
by m for every positive integer k.
AoPS discussion thread
4.11 50 M
65. (USA TSTST 2019, P6) Suppose P is a polynomial with integer coefficients
such that for every positive integer n, the sum of the decimal digits of |P (n)|
is not a Fibonacci number. Must P be constant? (A Fibonacci number is
an element of the sequence F0 , F1 , . . . defined recursively by F0 = 0, F1 = 1,
and Fk+2 = Fk+1 + Fk for k ≥ 0.)
AoPS discussion thread