AoPSWiki
Preparing for MATHCOUNTS or the AMC contests, and having a tough time with number theory problems? Read Art of Problem Solving's Introduction to Number Theory by Mathew Crawford.
Personal tools

2004 IMO Shortlist Problems/N3

From AoPSWiki

Contents

Problem

(Mohsen Jamali, Iran) A function from the set of positive integers to itself is such that for all the number is divisible by . Prove that for each .


Comment by the proposer. A possible version of this question is:

Find all functions f :  \mathbf{N}\rightarrow \mathbf{N} such that for all , the number is divisible by .


This alternative form was also Problem 3 of the 2005 5th Romanian TST, Problem 1 of the 3rd independent study of the 2005 3rd Taiwan TST, and Problem 3 of the 2005 French Mathematical Olympiad, Dossier 4.

Note: Although strictly speaking, denotes , in this context it is clear that it means .

Solutions

Solution 1

Lemma 1. .

Proof. We must have [f(1)]^2 + f(1) \mid (1^2+1)^2 = 4. But for any integer , , so we must have .

Lemma 2. For all natural , , with equality only when .

Proof. We note that \displaystyle [f(n)]^2 + f(1) = [f(n)]^2 + 1 divides . But if , then \displaystyle [f(n)]^2 + 1 > (n^2 + 1)^2, a contradiction. Now, if , then we must have \displaystyle f(n) + 1 \mid (n+1)^2; since \displaystyle (n+1)^2/2 < n^2 + 1 < (n+1)^2, , so we know that .

Lemma 3. For any prime , .

Proof. We know f(1) + f(p-1) = 1 + f(p-1) \mid p^2. Since is positive, either , or . But , so by Lemma 2, .

Now, for any natural number and any natural number that is one less than a prime, we have [f(k)]^2 + f(n) = k^2 + f(n) \mid (k^2 + n)^2. But for some integer ,

\displaystyle (k^2 + n)^2 = \{[k^2 + f(n]+[n-f(n)]\}^2 = A[k^2 + f(n)] + [n-f(n)]^2.

Hence . This means that has infinitely many divisors, i.e., it is equal to zero. Hence for all natural , .


Solution 2

We use Lemmata 1–3 of the previous solution.

For natural , we define to be product of all primes less than or equal to .

Lemma 4. For all , .

Proof. We will use strong induction. We note that \displaystyle 2 \cdot 5 \cdot 7 \cdot 11 = 770 > 2\cdot 18^2, and , and , so \displaystyle \varpi(18) = \varpi(17) > 18^4 > 17^4. Now, for all integers ,
\varpi(n) \ge 19 \cdot \varpi(17) > 2^4 \cdot \pi(17) > 2^4\cdot 18^4 = 36^4 \ge n^4.

This establishes our base case. Now, for , suppose that the lemma holds for all integers . By Bertrand's Postulate, there exists a prime greater than and less than or equal to . Thus

\varpi(n) \ge p_1 \cdot \varpi(\lceil n/2 \rceil) > p_1 \cdot (\lceil n/2 \rceil)^4 \ge p_1 \cdot (n/2)^4 > n/2 \cdot (n/2)^4 > 16 \cdot (n/2)^4 = n^4.

Thus our lemma holds by strong induction.

We will now prove that for all natural , .

If this is not true, then there is a least for which this is not true.

Lemma 5. If exists, then it is not prime.

Proof. Suppose the contrary. One of the numbers [f(n_0)]^2, [f(n_0)]^2 + 1, \ldots, [f(n_0)]^2 + n_0 -1 must be divisible by . But since [f(n_0)]^2 +1 ,\ldots, [f(n_0)]^2 + n_0-1 must divide {} (n_0^2+1)^2, \ldots,  (n_0^2+n_0-1)^2, none of which can be divisible by , we conclude that and hence . Furthermore, for any prime , cannot be divisible by , since it is a divisor of , which is not divisible by , so . Since , it follows that is the only prime divisor of and again since , , a contradiction.

Lemma 6. If exists, then none of the numbers n_0^2+1, \ldots, n_0^2 + n_0 -1 is prime.

Proof. Suppose, on the contrary, that is prime, for some integer . We know . But since \displaystyle 1< [f(n_0)]^2 +k < n_0^4 + k < (n_0^2+k)^2 = p^2, we must have \displaystyle [f(n_0)]^2 +k = n_0^2 + k, which implies , a contradiction.

We now claim that does not exist. Since neither nor may be prime (by Lemmata 5 and 3), the only possibilities for are 8, 9, 14, and 15. But , , , and are all prime, by Lemma 6, we conclude that . But for each prime less than , one of the numbers

[f(n_0)]^2+1, \ldots, [f(n_0)]^2 + p

must be divisible by . Since these divide (n_0^2 + 1)^2, \ldots, (n_0^2 + p)^2, the only one of these which can be divisible by is , where is the integer between 1 and such that . It follows that for all primes less than ,

[f(n_0)]^2 \equiv n_0^2 \pmod{p}.

By the Chinese Remainder Theorem, then,

[f(n_0)]^2 \equiv n_0^2 \pmod{\varpi(n_0)}.

But by Lemma 4, the only solutions to this congruence other than \displaystyle [f(n_0)]^2 = n_0^2 are negative numbers (which are clearly impossible), and solutions which imply \displaystyle [f(n_0)^2] > n^2 + n^4. But by Lemma 2, this implies \displaystyle n^4 > [f(n_0)]^2 > n^2 + n^4, a contradiction. Thus does not exist, so there is no integer such that . Q.E.D.


Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.

Resources

Looking for a challenging geometry text? Preparing for MATHCOUNTS or the AMC exams? Check out Art of Problem Solving's Introduction to Geometry by Richard Rusczyk.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us