Skip to main content
OlympiadHQ

Browse · MathNet

Print

56th International Mathematical Olympiad Shortlisted Problems

number theory

Problem

For every positive integer with prime factorization , define That is, is the number of prime factors of greater than , counted with multiplicity. Find all strictly increasing functions such that
Solution
Answer. , where is an arbitrary integer, and is an arbitrary positive integer with .

A straightforward check shows that all the functions listed in the answer satisfy the problem condition. It remains to show the converse.

Assume that is a function satisfying the problem condition. Notice that the function also satisfies this condition. Replacing by , we assume from now on that ; then for any positive integer . Thus, we aim to prove that there exists a positive integer with such that for all .

We start by introducing some notation. Set . We say that a prime is large if , and is small otherwise; let be the set of all small primes. Next, we say that a positive integer is large or small if all its prime factors are such (thus, the number 1 is the unique number which is both large and small). For a positive integer , we denote the greatest large divisor of and the greatest small divisor of by and , respectively; thus, .

We split the proof into three steps.

Step 1. We prove that for every large , we have . In other words, for all integers and with .

We use induction on . The base case is trivial. For the induction step, assume that is a large number, and that the statement holds for all large numbers with .

Claim 1. For any integers and with , the number does not divide .

Proof. Assume, to the contrary, that . Let ; then . By the induction hypothesis, , and thus . Notice that is large, and . But then which is impossible.

Now we complete the induction step. By Claim 1, for every integer each of the sequences forms a complete residue system modulo . This yields . Thus, whenever .

Finally, if then there exists an integer such that and . Then . The induction step is proved.

Step 2. We prove that for some small integer a there exist infinitely many integers such that . In other words, is linear on some infinite set.

We start with the following general statement.

Claim 2. There exists a constant such that for every positive integer .

Proof. Let be the product of all small primes, and let be a positive integer such that . Then, for every the numbers are distinct modulo . Set and .

Choose any integer . Due to the choice of , for every there exists at most one nonnegative integer with . Since , we can choose a nonnegative integer such that for all . Therefore, .

On the other hand, Step 1 shows that . Since , this yields

Now let be the set of large primes. For every , Step 1 implies , so the ratio is an integer. Now Claim 2 leaves us with only finitely many choices for this ratio, which means that there exists an infinite subset and a positive integer a such that for all , as required.

Since for all , we get , so the number is small.

Step 3. We show that for all .

Let denote the residue class of modulo .

Claim 3. Assume that for some , there are infinitely many such that . Then for all .

Proof. Choose any . By our assumption, we can select such that and . Since , the number is large. Therefore, by Step 1 we have , so . Due to the choice of , this yields .

To complete Step 3, notice that the set found in Step 2 contains infinitely many elements of some residue class . Applying Claim 3, we successively obtain that for all . This finishes the solution.
Final answer
All functions of the form f(x) = a x + b, where b is any integer and a is a positive integer whose prime factors are all at most ten to the one hundred.

Techniques

Prime numbersFactorization techniquesTechniques: modulo, size analysis, order analysis, inequalitiesInjectivity / surjectivity