Skip to main content
OlympiadHQ

Browse · MathNet

Print

Vietnamese MO 2021

Vietnam 2021 number theory

Problem

For each integer , let denote the sum of all positive integers that are at most and not relatively prime to . a) Prove that , where is the number of positive integers that are at most and are relatively prime to . b) Prove that there does not exist an integer such that
Solution
a) Notice that if is a positive integer such that and then and are relatively prime. It follows that Let then So, we have

b) Suppose that there exists a positive integer such that . Thus, or From (*), it follows that are divisors of . Otherwise, so are not coprime, which means . Let , so . From (1), we get so there exists some positive integer such that Thus, is divisible by . Otherwise, one can check that is divisible by and for all , so On the other hand, it follows from (3) and (4) It implies that, for all Thus, and , so If has at most 10 distinct prime divisors then which contradicts (6). We get has at least 11 distinct prime divisors, so and is divisible by . Similarly, if has at most 4 distinct prime divisors then Otherwise, and which contradicts (5). We get has at least 5 distinct prime divisors, so is divisible by . On the other hand which contradicts and . Hence, there does not exist a positive integer such that

Techniques

φ (Euler's totient)Greatest common divisors (gcd)Prime numbers