Maths Olympiad Prep

Library / Taiwan IMO Selection Camp /265 of 359

Taiwan IMO Selection Camp, 2021

Algebra Difficulty 6.5 National Olympiad Prove it Taiwan

令 ∥x∥∗=(∣x∣+∣x−1∣−1)/2\|x\|_* = (|x| + |x - 1| - 1)/2。請決定所有的函數 f:N→Nf: \mathbb{N} \to \mathbb{N} 使得
f(∥f(x)−x∥∗)(x)=x,∀x∈N. f^{(\|f(x)-x\|_*)}(x) = x, \forall x \in \mathbb{N}.
其中 f(0)(x)=xf^{(0)}(x) = x, f(n)(x)=f(f(n−1)(x))f^{(n)}(x) = f(f^{(n-1)}(x)), ∀n∈N\forall n \in \mathbb{N}。

Let ∥x∥∗=(∣x∣+∣x−1∣−1)/2\|x\|_* = (|x| + |x - 1| - 1)/2. Find all f:N→Nf : \mathbb{N} \to \mathbb{N} such that
f(∥f(x)−x∥∗)(x)=x,∀x∈N. f^{(\|f(x)-x\|_*)}(x) = x, \forall x \in \mathbb{N}.
Here f(0)(x)=xf^{(0)}(x) = x and f(n)(x)=f(f(n−1)(x))f^{(n)}(x) = f(f^{(n-1)}(x)) for all n∈Nn \in \mathbb{N}.

Solution

All the solutions are f:N→Nf: \mathbb{N} \to \mathbb{N} such that f(x)∈{x,x+1}f(x) \in \{x, x+1\}, ∀x∈N\forall x \in \mathbb{N}. Note that in this case, we have ∥f(x)−x∥∗=0\|f(x) - x\|_* = 0 so they are clearly solutions.

Now we show that these are all the solutions. In fact, if there exists an x∈Nx \in \mathbb{N} such that f(x)∉{x,x+1}f(x) \notin \{x, x+1\}, then we have that ∥f(x)−x∥∗≠0\|f(x) - x\|_* \neq 0. Thus we can find a minimum s∈Ns \in \mathbb{N} such that fs(x)=xf^s(x) = x. By the minimality of ss, we have s∣∥f(x)−x∥∗s \mid \|f(x) - x\|_*. Note that we also have that ss is the minimum such that fs(f(x))=f(x)f^s(f(x)) = f(x), showing that s∣∥f(2)(x)−f(x)∥∗s \mid \|f^{(2)}(x) - f(x)\|_*. By induction, we then have s∣∥f(i+1)(x)−f(i)(x)∥∗s \mid \|f^{(i+1)}(x) - f^{(i)}(x)\|_*. Let ai=f(i+1)(x)−f(i)(x)a_i = f^{(i+1)}(x) - f^{(i)}(x). Then since f(s)(x)=xf^{(s)}(x) = x, we have that a0+a1+⋯+as−1=0a_0 + a_1 + \cdots + a_{s-1} = 0. We also have that ∥a0∥∗+∥a1∥∗+⋯+∥as−1∥∗\|a_0\|_* + \|a_1\|_* + \cdots + \|a_{s-1}\|_* is divisible by ss. However, by the definition of ∥⋅∥∗\|\cdot\|_*, we know that ∥x∥∗=x\|x\|_* = x if x≤0x \le 0, and ∥x∥∗=x−1\|x\|_* = x-1 if x≥1x \ge 1. Since ∥a0∥∗≠0\|a_0\|_* \neq 0 by assumption, we know that either a0>1a_0 > 1 or a0<0a_0 < 0. In the first case, we know that there exists an aia_i such that ai<0a_i < 0. In the second case, we know that there exists an aia_i such that ai>0a_i > 0. Thus, in any case, we will have ai<0a_i < 0 and aj>0a_j > 0 for some i,ji, j. Thus, if pp is the number of i∈{0,1,…,s−1}i \in \{0, 1, \dots, s-1\} such that ai>0a_i > 0, then 0<p<s0 < p < s. As a consequence,
s∣∥a0∥∗+⋯+∥as−1∥∗=a0+a1+⋯+as−1−p=−p, s \mid \|a_0\|_* + \cdots + \|a_{s-1}\|_* = a_0 + a_1 + \cdots + a_{s-1} - p = -p,
which is a contradiction. Thus we must have f(x)∈{x,x+1}f(x) \in \{x, x+1\} for all x∈Nx \in \mathbb{N}.

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

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from zh; metadata (topic, difficulty) added by this project.