Skip to main content
OlympiadHQ

Browse · MathNet

Print

2025 International Mathematical Olympiad China National Team Selection Test

China 2025 algebra

Problem

Find all functions satisfying: (1) For any positive integer , there exists an integer with ; (2) For any integers , is a perfect square.
Solution
Let . All functions satisfying the given conditions are of the form for some fixed positive integer .

First, we verify that such satisfies . The left-hand side of becomes: Note that is an integer, so the above expression is indeed a perfect square.

We now show that these are the only solutions to the functional equation . Let be the non-negative integer such that:

Step 1: All have the same sign. This follows by setting in , which gives . Thus, all have the same sign as .

Step 2: is an even function. For a fixed , let . Since is unbounded, there exists such that . Substituting and into yields: This implies , so ; similarly, . Subtracting these equations gives: The left-hand side satisfies , while . Analyzing the magnitudes shows that , so , proving is even.

Step 3: Determine the general form of . Setting in gives: Thus, is a solution to the generalized Pell equation: We use the theory of solutions to generalized Pell equations. Let be the ring of numbers with . The conjugate of is , and . For , we have . Solving (6) is equivalent to solving in . If is a solution, then all () are also solutions.

Lemma: There exist finitely many fundamental solutions () to (6) such that for any solution , there exists and with .

Proof of Lemma: Consider the lattice . Solutions to (6) correspond to points on the hyperbola . Multiplying by or generates new solutions, equivalent to moving to or on the hyperbola. By these transformations, any solution can be mapped to a region where and , corresponding to finitely many lattice points (). Thus, any solution can be written as .

Fix the fundamental solutions () from the lemma, with . We may assume no two differ by a power of . For each , there exist unique and such that: Let . From (7), we have the estimate:

Step 4: For positive integers , we have the growth estimate: This follows from substituting for in , yielding: Combining with (8) gives: Simplifying, we obtain: which implies . Similarly, substituting for in gives: leading to . Combining these inequalities proves (9).

Step 5: Prove that . First, let's explain the basic idea. Suppose for indices we have and has the same sign as . Substituting the expressions for and from (7) into , we obtain: Note that is an integer greater than . Therefore, if and are very close and both have large absolute values, all terms except this squared term sum to zero. Now we use this property specifically to show . Assume by contradiction that . First, we show that for any , the sets and have no common elements. This is because the product of these numbers with their conjugates differs: (since ). Thus there exists an integer such that all numbers of the form and or (for ) are pairwise separated by more than . Since is unbounded, there exist satisfying: Choose such that . Consider: and the signs of . By the pigeonhole principle, there must exist such that and has the same sign as . From inequality (9), we estimate: Returning to our earlier situation, set , , and observe that: is much larger than the square of the remaining terms. Therefore, we must have: But by the definition of , this equality cannot hold. Contradiction!

Step 6: Complete the proof. With , (5) simplifies to: Thus, is even, and we rewrite the equation as: The solutions to this standard Pell equation are: Substituting into (★) gives: implying must be even. Let . Substituting into (10) and (11), we obtain for : which implies: The following shows that for any , we have . Fix , and let .

Consider any positive integer satisfying . From the given conditions, for , we have . For , taking and in (12) yields: Since is an integer greater than , while the remaining terms are less than , it must hold that: This implies . Since is unbounded, choose such that and . From the above discussion, we have: so either or . If , we can use and (13) to inductively prove that for all . This contradicts the unboundedness of .

Therefore, , which implies . Next, we examine the conditions that must satisfy: Thus , which gives . Continuing this recursion, we obtain . This proves that all solutions satisfying the functional equation are of the form:
Final answer
All such functions are f(n) = ((3+2√2)^{2tn} + (3−2√2)^{2tn}) / 2 for some fixed positive integer t.

Techniques

Functional EquationsPell's equationsQuadratic fieldsPigeonhole principle