Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team Selection Test for IMO 2023

Turkey 2023 number theory

Problem

For each integer , let be the greatest proper divisor of . Is there a positive integer for which the total number of integers satisfying is equal to 2023?
Solution
Answer: Yes, there exists.

Observation 1: If is the smallest prime divisor of , then .

Observation 2: Let be a prime number and be a positive integer. If or none of the prime divisors of is less than , then .

Lemma 1: Let be a positive integer. Then there exist positive integers such that

and is prime.

Proof: We will prove the claim by induction on . The case is trivial. Assume that the claim is true for . Thus, there exist such . For let be the smallest prime divisor of and . Then by Observation 1 we have and . Let be the product of all prime numbers less than . Therefore, we have and thus, by Dirichlet's theorem there exists a prime number of the form . Then, . Note that has no prime divisor less than . Thus, we get for each and hence, satisfy the conditions for .

Lemma 2: Let be prime numbers and . If , then or is a prime number or there exists a such that is a prime number less than and it is the smallest prime divisor of .

Proof: Let be the smallest prime divisor of and . Then . If , then and is a prime number. If , then and . Now, let and . By the observations above we see that and are relatively prime. Therefore, for every divides exactly one of and . Moreover, if , then and none of divides . So, for the largest satisfying (there exists such and )) we obtain and .

By Lemma 1 there exists a positive integer with such that has exactly solutions. Then by Lemma 2 we see that

has either r or r - 1 solutions. Indeed, if m + 1 is prime then the number of solutions decreases by 1, otherwise it remains the same. Consequently, we reach a number m' where f(n) = m' has exactly 2023 solutions.
Final answer
Yes

Techniques

Prime numbersFactorization techniquesOther