Skip to content
Gioi Toan
Start learning

IMO 2024 problems and solutions

65th International Mathematical Olympiad (IMO 2024), Bath, United Kingdom

  • Time: 540 minutes
  • Format: written answers
  • Marked out of 42
  • Difficulty: M6 to M8
A smiling globe circled by a ring of stars

Start the paperTimed like the real exam. For written questions, work in your notebook, submit, then mark yourself with the marking scheme.

You can see the answer to every part. Step-by-step hints, how to think about it and full solutions open when a parent signs in, free.

Problem 1 (7 marks)

Determine all real numbers α\alpha such that for every positive integer nn the integer ⌊α⌋+⌊2α⌋+⋯+⌊nα⌋\lfloor \alpha\rfloor+\lfloor 2\alpha\rfloor+\cdots+\lfloor n\alpha\rfloor is a multiple of nn. (Here ⌊z⌋\lfloor z\rfloor denotes the greatest integer not exceeding zz. For example, ⌊−π⌋=−4\lfloor -\pi\rfloor=-4 and ⌊2⌋=⌊2,9⌋=2\lfloor 2\rfloor=\lfloor 2,9\rfloor=2.)

Show the answer

Answer: α\alpha is an even integer, that is α=2m\alpha=2m with m∈Zm\in\mathbb Z.

Lesson: Lesson 5: Sequences

Step-by-step solutions and analysis. A parent signs in for free so your child can see step-by-step solutions, the marking scheme for each part and common mistakes.

Parent sign-in

Problem 2 (7 marks)

Find all pairs of positive integers (a,b)(a,b) such that there exist positive integers gg and NN satisfying gcd⁡(an+b, bn+a)=g\gcd(a^n+b,\,b^n+a)=g for every integer n⩾Nn\geqslant N. (Here gcd⁡(x,y)\gcd(x,y) denotes the greatest common divisor of the integers xx and yy.)

Show the answer

Answer: The only pair is (a,b)=(1,1)(a,b)=(1,1).

Lesson: Lesson 11: Common divisors. Greatest common divisor

Step-by-step solutions and analysis. A parent signs in for free so your child can see step-by-step solutions, the marking scheme for each part and common mistakes.

Parent sign-in

Problem 3 (7 marks)

Let a1,a2,a3,…a_1,a_2,a_3,\ldots be an infinite sequence of positive integers and let NN be a positive integer. Suppose that for every n>Nn>N, ana_n equals the frequency of an−1a_{n-1} in the sequence a1,a2,…,an−1a_1,a_2,\ldots,a_{n-1}. Prove that one of the two sequences a1,a3,a5,…a_1,a_3,a_5,\ldots and a2,a4,a6,…a_2,a_4,a_6,\ldots is periodic from some index onward. (An infinite sequence b1,b2,b3,…b_1,b_2,b_3,\ldots is periodic from some index onward if there exist positive integers pp and MM such that bm+p=bmb_{m+p}=b_m for every m⩾Mm\geqslant M.)

Show the answer

Answer: Proof: from some point on, the sequence alternates small numbers (at most kk) and large numbers; thanks to the two counting lemmas, the distance to the first repetition of the small numbers is a non-decreasing and bounded sequence, so the sequence of small numbers (one of the two sequences of odd and even indices) is periodic.

Lesson: Lesson 5: Sequences

Step-by-step solutions and analysis. A parent signs in for free so your child can see step-by-step solutions, the marking scheme for each part and common mistakes.

Parent sign-in

Problem 4 (7 marks)

Given triangle ABCABC with AB<AC<BCAB<AC<BC. Let II and ω\omega be respectively the incenter and the incircle of triangle ABCABC. Let XX be a point on the straight line BCBC, different from CC, such that the straight line through XX and parallel to ACAC is tangent to ω\omega. Similarly, let YY be a point on the straight line BCBC, different from BB, such that the straight line through YY and parallel to ABAB is tangent to ω\omega. The straight line AIAI meets the circumcircle of triangle ABCABC again at P≠AP\ne A. Let KK and LL be respectively the midpoints of ACAC and ABAB. Prove that ∠KIL+∠YPX=180∘\angle KIL+\angle YPX=180^\circ.

Show the answer

Answer: Proof: let TT be the point symmetric to AA through II; then TX∥ACTX\parallel AC, TY∥ABTY\parallel AB, ∠KIL=∠CTB\angle KIL=\angle CTB, the quadrilaterals BXTPBXTP, CYTPCYTP are inscribed, and adding the angles in triangle TBCTBC gives a sum equal to 180∘180^\circ.

Lesson: Lesson 29: Cyclic quadrilateral

Step-by-step solutions and analysis. A parent signs in for free so your child can see step-by-step solutions, the marking scheme for each part and common mistakes.

Parent sign-in

Problem 5 (7 marks)

Turbo the snail plays the following game on a board of unit squares with 2024 rows and 2023 columns. In 2022 of the unit squares, some devils are hiding. At first, Turbo does not know which squares have devils hiding in them, but it knows that each row contains exactly one devil, except for the first row and the last row, and each column contains at most one devil.

Turbo performs a sequence of trials to find a way from the first row to the last row. In each trial, it may choose any square in the first row to start from, then it keeps moving between squares, each step from one square to a square sharing a side with the square it is standing on. (It is allowed to pass through squares it has visited before.) If it reaches a square with a devil, this trial stops and it is brought back to the first row to perform a new trial. The devils do not move, and Turbo remembers whether each square it has visited has a devil or not. If it reaches any square in the last row, the game ends.

Determine the minimum value of nn such that Turbo always has a strategy guaranteeing to reach the last row after at most nn trials, no matter in which squares the devils are hiding.

Show the answer

Answer: n=3n=3.

Lesson: End-of-year review exercises

Step-by-step solutions and analysis. A parent signs in for free so your child can see step-by-step solutions, the marking scheme for each part and common mistakes.

Parent sign-in

Problem 6 (7 marks)

Let Q\mathbb Q denote the set of rational numbers. A function f ⁣:Q→Qf\colon\mathbb Q\to\mathbb Q is called nice if it has the following property: for every x,y∈Qx,y\in\mathbb Q, f(x+f(y))=f(x)+yorf(f(x)+y)=x+f(y).f(x+f(y))=f(x)+y\quad\text{or}\quad f(f(x)+y)=x+f(y). Prove that there exists an integer cc such that for every nice function ff, there are at most cc distinct rational numbers of the form f(r)+f(−r)f(r)+f(-r), where rr is some rational number, and find the minimum possible value of cc.

Show the answer

Answer: The minimum value of cc is 2.

Lesson: End-of-year review exercises

Step-by-step solutions and analysis. A parent signs in for free so your child can see step-by-step solutions, the marking scheme for each part and common mistakes.

Parent sign-in