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.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.