Skip to main content
OlympiadHQ

Browse · MathNet

Print

THE DANUBE MATHEMATICAL COMPETITION

Romania number theory

Problem

Determine the positive integers such that, for any divisor of , the numbers and are prime.
Solution
First, we prove that is square-free. If divides for a positive integer , then would be a prime number. But , with both factors larger than , which is a contradiction.

Thus, , where and are prime numbers. Let be a prime number. Then or . If , then , and is composite.

If , then , and is composite.

In conclusion, the only prime factors of can be and , so . It is easy to check that all these three numbers fulfill the given condition.
Final answer
2, 3, 6

Techniques

Prime numbersFactorization techniquesOther