Maths Olympiad Prep

Library / /7 of 11

, 2025

Combinatorics Difficulty 6.9 National Olympiad Prove it Czech-Polish-Slovak Mathematical Match

Maryam and Artur play a game on a board, taking turns. At the beginning, the polynomial XY1XY - 1 is written on the board. Artur is the first to make a move. In each move, the player replaces the polynomial P(X,Y)P(X, Y) on the board with one of the following polynomials of their choice:

a) XP(X,Y)X \cdot P(X, Y)

b) YP(X,Y)Y \cdot P(X, Y)

c) P(X,Y)+aP(X, Y) + a, where a(,2025]a \in (-\infty, 2025] is an arbitrary integer.

The game stops after both players have made 2025 moves. Let Q(X,Y)Q(X, Y) be the polynomial on the board after the game ends. Maryam wins if the equation Q(x,y)=0Q(x, y) = 0 has a finite and odd number of positive integer solutions (x,y)(x, y). Prove that Maryam can always win the game, no matter how Artur plays.

Solution

We claim that Maryam can always achieve that the polynomial on the board at the end of her turn has the form P(X,Y)=f(XY)P(X,Y) = f(XY) where fZ[T]f \in \mathbb{Z}[T] can be written as
Tni=0n1aiTifor integers n>0 and ai0, not all of them zero.(1) T^n - \sum_{i=0}^{n-1} a_i T^i \quad \text{for integers } n > 0 \text{ and } a_i \ge 0, \text{ not all of them zero.} \quad (1)

As any such ff fulfills f(x)xn=1i=0n1aixni\frac{f(x)}{x^n} = 1 - \sum_{i=0}^{n-1} \frac{a_i}{x^{n-i}} for all positive real numbers xx, which is a strictly increasing function on (0,)(0, \infty) with arbitrarily small real values near 00 and tending to 11 for xx \to \infty, it has exactly one positive real root rr. We claim further that Maryam can choose rr to be a perfect (integer) square. (Initially, P(X,Y)=f(XY)P(X, Y) = f(XY) with f=T1f = T - 1.) Maryam proceeds as follows:

* If Artur multiplies with XX, Maryam multiplies with YY and if Artur multiplies with YY, Maryam multiplies with XX. If initially, P(X,Y)=f(XY)P(X, Y) = f(XY) was on the board, then the resulting polynomial is XYf(XY)XYf(XY), so ff changes to TfT \cdot f.

* If Artur adds an integer 0a20250 \le a \le 2025, Maryam adds the number a2025-a \le 2025. The polynomial remains unchanged.

* If Artur adds an integer a<0a < 0, write A(XY)A(XY) for the new polynomial on the board, where AZ[T]A \in \mathbb{Z}[T] is of the form (1). By the discussion above, AA has a unique positive real root uu. As A(x)>0A(x) > 0 for all x>ux > u, Maryam can choose an integer c>uc > u (e.g. c=u+1c = \lfloor u \rfloor + 1) and add the negative integer A(c2)-A(c^2) to the polynomial AA on the board. Then the new polynomial on the board has again the form (1) and (by construction) c2Z>0c^2 \in \mathbb{Z}_{>0} as the only positive real root.

Hence, Maryam can always achieve that QQ (the polynomial in the end of the game) satisfies Q=g(XY)Q = g(XY) where gg is of the form (1) and has a perfect square s2s^2, sZ>0s \in \mathbb{Z}_{>0}, as unique positive real root. Now for all pairs of positive integers (x,y)(x, y), we have Q(x,y)=0    g(xy)=0    xy=s2Q(x, y) = 0 \iff g(xy) = 0 \iff xy = s^2 and it is well known that the number of solutions (x,y)(x, y) to the last equation is (finite and) odd. (Pairs (x,y)(x, y) and (y,x)(y, x) with xyx \ne y correspond and (s,s)(s, s) is the only fixed point in this involution, giving an odd number overall.) Hence, Maryam can always win, independent of Artur's moves.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.