Skip to main content
OlympiadHQ

Browse · MathNet

Print

APMO

algebra

Problem

Let be the set of positive integers. Determine all functions such that is divisible by for all positive integers and .
Solution
First we perform the following substitutions on the original relation:

1. With , we find that , which implies .

2. With , we find that . In particular, for all .

3. With , we find that , and thus . In particular, for all .

Now, let be any odd prime. Substituting and in the original relation, we find that . Therefore, . Hence the possible values of are , and . By (2) above, and by (3) above . So for all primes .

Substituting into the original relation, we find that . However, since , we have . Thus, for any fixed this holds for arbitrarily large primes and therefore we must have , or , as desired.

---

Alternative solution.

As above, we have relations (1)-(3). In (2) and (3), for we have and . These imply .

Now, using we get . Let . We have From the first equation so for some integer . Then Also because by (3).

If is odd, then . Then , which implies . If is even, then . Then or . But if , then by definition and since , then divides . Therefore and the only possibility is . So for even , we have .

Finally, by (2) and (3), for we have and . This means or . The latter is discarded as, for , , we have by the original equation that . Therefore for every positive integer .

---

Alternative solution.

We proceed by induction. As in Solution 1, we have . Suppose that for some integer .

With the substitution and in the original relation we obtain that . Since , then .

With the substitution and in the original relation we obtain that . Since , we deduce that .

Therefore, , which implies the desired .
Final answer
f(n) = n for all positive integers n

Techniques

Functional EquationsPrime numbersGreatest common divisors (gcd)