Maths Olympiad Prep

Library / /83 of 115

Algebra Difficulty 7.5 National olympiad, round 2 Find the answer

Let N\mathbb{N} be the set of positive integers. A function f:NNf:\mathbb{N}\to\mathbb{N} satisfies the equation f(f(ff(n) times(n)))=n2f(f(n))\underbrace{f(f(\ldots f}_{f(n)\text{ times}}(n)\ldots))=\frac{n^2}{f(f(n))} for all positive integers nn . Given this information, determine all possible values of f(1000)f(1000) .

A number or a short expression. Spacing and $ signs are ignored.

Solution

Let fr(x)f^r(x) denote the result when ff is applied to fr1(x)f^{r-1}(x) , where f1(x)=f(x)f^1(x)=f(x) . \hfill\break\hfill\break\hfill \break \hfill \break If f(p)=f(q)f(p)=f(q) , then f2(p)=f2(q)f^2(p)=f^2(q) and ff(p)(p)=ff(q)(q)f^{f(p)}(p)=f^{f(q)}(q)
    p2=f2(p)ff(p)(p)=f2(q)ff(q)(q)=q2\implies p^2=f^2(p)\cdot f^{f(p)}(p)=f^2(q)\cdot f^{f(q)}(q)=q^2
    p=±q\implies p=\pm q
    p=q\implies p=q since p,q>0p,q>0 .
Therefore, ff is injective. It follows that frf^r is also injective.
Lemma 1: If fr(b)=af^r(b)=a and f(a)=af(a)=a , then b=ab=a .
Proof:
fr(b)=a=fr(a)f^r(b)=a=f^r(a) which implies b=ab=a by injectivity of frf^r .
Lemma 2: If f2(m)=ff(m)(m)=mf^2(m)=f^{f(m)}(m)=m , and mm is odd, then f(m)=mf(m)=m .
Proof:
Let f(m)=kf(m)=k . Since f2(m)=mf^2(m)=m , f(k)=mf(k)=m . So, f2(k)=kf^2(k)=k . f2(k)ff(k)(k)=k2\newline f^2(k)\cdot f^{f(k)}(k)=k^2 .
Since k0k\neq0 , ff(k)(k)=kf^{f(k)}(k)=k
    fm(k)=k\implies f^m(k)=k
    fgcd(m,2)(k)=k\implies f^{gcd(m, 2)}(k)=k
    f(k)=k\implies f(k)=k
This proves Lemma 2.
I claim that f(m)=mf(m)=m for all odd mm .
Otherwise, let mm be the least counterexample.
Since f2(m)ff(m)(m)=m2f^2(m)\cdot f^{f(m)}(m)=m^2 , either
(1)f2(m)=k<m(1) f^2(m)=k<m , contradicted by Lemma 1 since kk is odd and f2(k)=kf^2(k)=k .
(2)ff(m)(m)=k<m(2) f^{f(m)}(m)=k<m , also contradicted by Lemma 1 by similar logic.
(3)f2(m)=m(3) f^2(m)=m and ff(m)(m)=mf^{f(m)}(m)=m , which implies that f(m)=mf(m)=m by Lemma 2.
This proves the claim.
By injectivity, f(1000)f(1000) is not odd.
I will prove that f(1000)f(1000) can be any even number, xx . Let f(1000)=x,f(x)=1000f(1000)=x, f(x)=1000 , and f(k)=kf(k)=k for all other kk . If nn is equal to neither 10001000 nor xx , then f2(n)ff(n)(n)=nn=n2f^2(n)\cdot f^{f(n)}(n)=n\cdot n=n^2 . This satisfies the given property.
If nn is equal to 10001000 or xx , then f2(n)ff(n)(n)=nn=n2f^2(n)\cdot f^{f(n)}(n)=n\cdot n=n^2 since f(n)f(n) is even and f2(n)=nf^2(n)=n . This satisfies the given property.

The problems on this page are copyrighted by the Mathematical Association of America 's American Mathematics Competitions .

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: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.