Skip to main content
OlympiadHQ

Browse · MathNet

Print

South African Mathematics Olympiad

South Africa number theory

Problem

We call a divisor of a positive integer special if is also a divisor of . Prove: at most half the positive divisors of a positive integer can be special. Determine all positive integers for which exactly half the positive divisors are special.
Solution
We prove that no positive divisor of that is greater or equal to can be special: if is special, then is also a divisor, so and are both integers, which means that their difference is at least 1. Thus which is equivalent to . But since , this is a contradiction. Thus only divisors less than can be special. Since divisors come in pairs ( and ) such that one of them is less than and one greater than (when is a square, is paired with itself), this means that at most half the divisors can be special.

If precisely half the divisors are special, then cannot be a square, and every divisor less than has to be special. Thus 1 has to be a special divisor, meaning that 2 is a divisor (and thus also special), so 3 is a divisor, and so on, up to the greatest integer that is less than . Finally, is special, so has to be a divisor as well. Since is the greatest divisor less than and the least divisor greater than , their product must be , so . Moreover, is also a divisor of (unless ), so it also divides .

This leaves us with , and as the only possibilities, giving us , or . In all these cases, exactly half the divisors are special.
Final answer
2, 6, 12

Techniques

Divisibility / Factorizationτ (number of divisors)