Maths Olympiad Prep

Library / /290 of 397

, 2021

Algebra Difficulty 6.5 National Olympiad Prove it Taiwan

x=(x+x11)/2\|x\|_* = (|x| + |x - 1| - 1)/2。請決定所有的函數 f:NNf: \mathbb{N} \to \mathbb{N} 使得
f(f(x)x)(x)=x,xN. f^{(\|f(x)-x\|_*)}(x) = x, \forall x \in \mathbb{N}.
其中 f(0)(x)=xf^{(0)}(x) = x, f(n)(x)=f(f(n1)(x))f^{(n)}(x) = f(f^{(n-1)}(x)), nN\forall n \in \mathbb{N}

Let x=(x+x11)/2\|x\|_* = (|x| + |x - 1| - 1)/2. Find all f:NNf : \mathbb{N} \to \mathbb{N} such that
f(f(x)x)(x)=x,xN. 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(n1)(x))f^{(n)}(x) = f(f^{(n-1)}(x)) for all nNn \in \mathbb{N}.

Solution

All the solutions are f:NNf: \mathbb{N} \to \mathbb{N} such that f(x){x,x+1}f(x) \in \{x, x+1\}, xN\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 xNx \in \mathbb{N} such that f(x){x,x+1}f(x) \notin \{x, x+1\}, then we have that f(x)x0\|f(x) - x\|_* \neq 0. Thus we can find a minimum sNs \in \mathbb{N} such that fs(x)=xf^s(x) = x. By the minimality of ss, we have sf(x)xs \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 sf(2)(x)f(x)s \mid \|f^{(2)}(x) - f(x)\|_*. By induction, we then have sf(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++as1=0a_0 + a_1 + \cdots + a_{s-1} = 0. We also have that a0+a1++as1\|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 x0x \le 0, and x=x1\|x\|_* = x-1 if x1x \ge 1. Since a00\|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,,s1}i \in \{0, 1, \dots, s-1\} such that ai>0a_i > 0, then 0<p<s0 < p < s. As a consequence,
sa0++as1=a0+a1++as1p=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 xNx \in \mathbb{N}.

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 translated into English from zh; metadata (topic, difficulty) added by this project.