Skip to main content
OlympiadHQ

Browse · MathNet

Print

62nd Ukrainian National Mathematical Olympiad

Ukraine number theory

Problem

For a positive integer we write out all its divisors . A divisor is called a good divisor if is not divisible by , . Find all for which the number of their good divisors is smaller than the number of their different prime divisors.

(Mykhailo Shtandenko)
Solution
Answer. and , where where are prime numbers.

Solution:

First, let's prove that if a number has at least three different prime divisors, it is not suitable for us. Let be the number of different prime divisors and be the two smallest prime divisors of . Then it is clear that there exists such that the first consecutive divisors of will be the numbers . Note that taking as all prime divisors of except for the smallest, we get numbers that satisfy the condition. Indeed, all divisors smaller than a prime number are coprime with that number, so , and since we get the conclusion. It remains to find another good number. Let . Then the divisor is a good divisor. Indeed, it cannot be followed by a divisor divisible by , because the smallest of these not yet chosen divisors is , but . So is the next composite divisor. Then take the last prime number that comes after (possibly ), after which the next composite number will be . Then it will be the desired -th good number. Now let be not divisible by . Then the next composite divisor is . If between and there is at least one prime divisor, then we take the last of them as our -th good number. Otherwise, the divisors will be consecutive divisors, and hence will be consecutive divisors, but then the divisor will be the desired one, because since is the degree of occurrence of a prime in the number , is not divisible by , and is not divisible by , but , and is divisible by more than one prime divisor of , which means that we have not yet taken it into account, which is what we wanted to prove.

If a number is a power of a prime, then obviously it suits us, because it has no good divisors at all. It remains to consider the case when a number has two different prime divisors, which we denote . Then it is clear that there exists that the first consecutive divisors of will be the numbers . The divisor is a good divisor, which means it is the only good divisor of our number. Hence, the next divisor after is a divisor that is divisible by , but the smallest such divisor not yet used is , and therefore it comes after . However, , and hence our number is not divisible by . Then, similarly, the divisors will be consecutive divisors, and the divisor will be a good divisor. So, , so , and , and the above answer follows. A simple check shows that both answers do indeed satisfy the condition.
Final answer
All n of the form p^β and p^α q with q > p^α, where p and q are prime numbers.

Techniques

Prime numbersGreatest common divisors (gcd)Factorization techniques