olymmath

IMO 2024 Problem 3

  • Day 1
  • Combinatorics
  • Proof

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 each n>Nn > N, ana_n is equal to the number of times an−1a_{n-1} appears in the list a1,a2,…,an−1a_1, a_2, \ldots, a_{n-1}.

Prove that at least one of the sequences a1,a3,a5,…a_1, a_3, a_5, \ldots and a2,a4,a6,…a_2, a_4, a_6, \ldots is eventually periodic.

(An infinite sequence b1,b2,b3,…b_1, b_2, b_3, \ldots is eventually periodic if there exist positive integers pp and MM such that bm+p=bmb_{m+p} = b_m for all m⩾Mm \geqslant M.)

Official text IMO 2024 official English paper, page 1. Quoted with source.

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Locator imo/2024/p3 · Tag 04FX2W14D1 · Edit this page on GitHub · Keys: j next, k previous