Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team Selection Test for IMO

Turkey number theory

Problem

Let denote the number of positive integers less than that are relatively prime to where is a positive integer. Find all pairs of positive integers satisfying
Solution
The answer is and .

For , we have which yields a contradiction.

If is a prime number, then and hence . Therefore .

If where is a prime number, then and we get . For we have which is possible only when but has no solution in integers. For , we get .

In all the other cases, let be the smallest prime factor of . As , we have and therefore divides . Thus, and is odd. As , where . Since is the smallest prime factor of , we get and hence which is a contradiction.
Final answer
(2, 2), (2, 4)

Techniques

φ (Euler's totient)Fermat / Euler / Wilson theoremsMultiplicative orderPrime numbersGreatest common divisors (gcd)