Maths Olympiad Prep

Library / /41 of 92

Algebra Difficulty 6.3 National olympiad Prove it Iran

Find all functions f:NNf : \mathbb{N} \to \mathbb{N} such that for all positive integers a,ba, b we have
fa(b)+fb(a)2(f(ab)+b21). f^a(b) + f^b(a) \mid 2(f(ab) + b^2 - 1).
By fa(x)f^a(x) we mean the aa-times fold composition of ff.

Solution

Let b=1b = 1 we have fa(1)+f(a)f^a(1) + f(a) divides 2f(a)2f(a). Hence, 2f(a)=C(fa(1)+f(a))2f(a) = C(f^a(1) + f(a)), for some positive integer CC. Thus, C=1C = 1 and fa(1)=f(a)f^a(1) = f(a). Whence, fa(b)=fa1(f(b))=fa1(fb(1))=fa+b1(1)=f(a+b1)f^a(b) = f^{a-1}(f(b)) = f^{a-1}(f^b(1)) = f^{a+b-1}(1) = f(a+b-1). By the same argument fb(a)=f(a+b1)f^b(a) = f(a+b-1). It then follows that f(a+b1)f(a+b-1) divides f(ab)+b21f(ab) + b^2 - 1. Interchanging a,ba, b to obtain f(a+b1)b2a2f(a+b-1) \mid b^2 - a^2. Hence, f(2a)f(2a) divides 2a+12a+1. If the function is injective, it follows that
f2(n)=f(f(n))=f(n+1). f^2(n) = f(f(n)) = f(n+1).
Hence f(n)=n+1f(n) = n + 1. This is indeed a solution. If the function is not injective then f(r)=f(s)f(r) = f(s) for some r>sr > s. Thus, fr(1)=fs(1)f^r(1) = f^s(1). Hence, for each positive integer mm; f(m+r)=fm(fr(1))=fm(fs(1))=f(m+s)f(m+r) = f^m(f^r(1)) = f^m(f^s(1)) = f(m+s). Hence, the function is periodic with a period of rsr-s. This implies that the function is indeed bounded. That is, for all nn we have f(n)<Mf(n) < M. Choose a prime p>Mp > M it follows that f(p1)f(p-1) divides pp and f(p1)<M<pf(p-1) < M < p. Yielding f(p1)=1f(p-1) = 1. Whence, for all large enough pp; f(p1)=fp1(1)=1f(p-1) = f^{p-1}(1) = 1.
Let dd be the smallest positive integer such that fd(1)=1f^d(1) = 1 by using the division algorithm, we can easily prove that dd divides p1p-1. This means that for all large enough pp we have p1(modd)p \equiv 1 \pmod d. This implies that d{1,2}d \in \{1, 2\}. Thus f(f(1))=1f(f(1)) = 1. Hence, f(2k)=f2k(1)=1f(2k) = f^{2k}(1) = 1 for all positive integers kk. On the other hand, f(2k+1)=f2k+1(1)=f(1)f(2k+1) = f^{2k+1}(1) = f(1) for all non-negative integers kk. Finally putting a=b=2a=b=2 to obtain f(1)f(1) divides 44. Hence, f(2k+1){1,2,4}f(2k+1) \in \{1, 2, 4\}. Whence, we have four functions satisfying the statement of the problem. \blacksquare

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 and solution reproduced as published; topic and difficulty added by this site.