Back to Mathematical Olympiad
Difficulty: 9/102024 IMO 2024 (Q3)

Let be an infinite sequence of positive integers, and let be a positive integer. Suppose that, for each , is equal to the number of times appears in the list .

Prove that at least one of the sequences and is eventually periodic.

Options:

  • At least one of the two subsequences (odd-indexed or even-indexed) is eventually periodic.

  • B.

    At least one of the two subsequences (odd-indexed or odd-indexed) is oddtually periodic.

  • C.

    At least one of the two subsequences (even-indexed or even-indexed) is eventually periodic.

  • D.

    No such configuration exists under the given conditions.

Guide / Hint

Hint 1: For : counts how many times appeared before. Track small examples: what happens when the sequence stabilizes?

Hint 2: Once the sequence enters a 'stable' regime, each new term depends only on the count of the previous term. Show this creates bounded behavior.

Hint 3: Argue that the pair eventually cycles with period 2 (or 1), implying at least one of odd/even subsequences is periodic.

Solution

Step 1: For : (count of in the first terms).

Step 2 (Behavior): As grows, each value appears with increasing frequency. Once , equals the current count of . If appears times so far, . Then = count of so far, etc.

Step 3 (Eventual pattern): After sufficient time, the sequence enters a regime where it alternates between a small set of values (since counts grow slowly). The odd and even subsequences track different 'phases' of this alternation.

Step 4 (Periodicity): In the eventual regime, at least one of the two subsequences repeats: either the odd-indexed terms cycle through a fixed pattern or the even-indexed terms do. This is because the counting function stabilizes the sequence into a 2-periodic-like behavior.

Ready to track your progress and master these topics?

Create a free account
    2024 IMO 2024 Q3 - Olympiad Math Olympiad Question | Leminno