Maths Olympiad Prep

Library / /60 of 87

Algebra Difficulty 6.7 National Olympiad Prove it Serbia

Problem:

Let kk be a natural number. For every function f:NNf: \mathbb{N} \rightarrow \mathbb{N}, let the sequence of functions (fm)m1\left(f_{m}\right)_{m \geqslant 1} be defined by f1=ff_{1}=f and fm+1=ffmf_{m+1}=f \circ f_{m} for m1m \geqslant 1. The function ff is kk-fine if for all nNn \in \mathbb{N} it holds that
fk(n)=f(n)k f_{k}(n)=f(n)^{k}

a) For which kk does there exist a 11-11 kk-fine function ff?

b) For which kk does there exist an onto kk-fine function ff?

Solution

Solution:

Every function is 11-fine, so the answer to both parts of the problem is affirmative. Let us further assume k2k \geqslant 2. Every kk-fine function is 11-11 because from f(m)=f(n)f(m)=f(n) it follows that mk=fk(m)=fk(n)=nkm^{k}=f_{k}(m)=f_{k}(n)=n^{k}, i.e., m=nm=n.

a) Answer: YES. Let us construct the function ff inductively in the following way. Let nn be the smallest natural number whose image has not been determined.

(1) if n=1n=1, then f(n)=1f(n)=1;

(2) if n=akn=a^{k} for some integer a>1a>1, we define f(n)=f(a)kf(n)=f(a)^{k};

(3) if nn is not a perfect kk-th power, we choose the smallest k1k-1 natural numbers n1,n2,,nk1n_{1}, n_{2}, \ldots, n_{k-1} which are not perfect kk-th powers and whose images have not yet been determined, and we define f(n1)=n2,f(n2)=n3,,f(nk1)=n1kf\left(n_{1}\right)=n_{2}, f\left(n_{2}\right)=n_{3}, \ldots, f\left(n_{k-1}\right)=n_{1}^{k}.

In this way the function ff is well defined. Let us show that it is kk-fine. For every nNn \in \mathbb{N} which is not a kk-th power there exist numbers n1,,nk1n_{1}, \ldots, n_{k-1} from condition (3) such that ni=nn_{i}=n for some 1ik11 \leqslant i \leqslant k-1. Then it holds that fk(ni)=fi(n1k)=fi(n1)k=f(ni)kf_{k}\left(n_{i}\right)=f_{i}\left(n_{1}^{k}\right)=f_{i}\left(n_{1}\right)^{k}=f\left(n_{i}\right)^{k}. Also, if nn is a perfect kk-th power, then n=niksn=n_{i}^{k^{s}} for some ii and ss, so according to (2) it holds that fk(n)=fk(ni)ks=niks+1=nkf_{k}(n)=f_{k}\left(n_{i}\right)^{k^{s}}=n_{i}^{k^{s+1}}=n^{k}, which proves our claim.

b) Answer: NO. Indeed, if ff is onto and kk-fine, then for every a0a_{0} there exists a sequence of natural numbers a1,a2,a_{1}, a_{2}, \ldots such that f(ak+1)=akf\left(a_{k+1}\right)=a_{k} for all kk, from which akk=fk(ak)=a0a_{k}^{k}=f_{k}\left(a_{k}\right)=a_{0}, which is impossible if a0a_{0} is not a kk-th power.

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 sr; metadata (topic, difficulty) added by this project.