Skip to main content
OlympiadHQ

Browse · MathNet

Print

Mathematica competitions in Croatia

Croatia number theory

Problem

For a given positive integer let denote the sum of all numbers from the set relatively prime to . Let be a positive integer and an odd positive integer. Prove that there exist positive integers and such that divides and .
Solution
For , . For , note that for a positive integer relatively prime to the number is also relatively prime to . Hence the summands in the sum can be paired and each pair has sum . The number of positive integers relatively prime to (and less than ) is , so Let be the largest prime factor of , and let be consecutive prime numbers. Then (where some of are 0). We will construct a number of the form satisfying the condition of the problem. Note that Also, for every all prime divisors of are among , so we choose such that , i.e. The number satisfies the condition of the problem if and only if is divisible by and , for all . Since is odd, its multiples alternate in being even and odd, so for every we can choose a large enough such that and

Then , which shows that satisfies the condition of the problem.

Techniques

φ (Euler's totient)Factorization techniques