Maths Olympiad Prep

Library / /66 of 105

Number theory Difficulty 5.0 AIME, harder Prove it United States

Problem:

Does there exist a function ff from the positive integers to itself, such that for any positive integers aa and bb, we have gcd(a,b)=1\operatorname{gcd}(a, b)=1 if and only if gcd(f(a),f(b))>1\operatorname{gcd}(f(a), f(b))>1 holds?

Solution

Solution:

The answer is no. Assume that ff satisfies the hypothesis. Let kk denote the number of distinct primes dividing f(1)f(1). For every integer ee, the number f(2e)f\left(2^{e}\right) shares some prime factor with f(1)f(1). So among f(2),f(4),,f(2k+1)f(2), f(4), \ldots, f\left(2^{k+1}\right) two of them have the same shared prime factor, which is impossible.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.