Let denote the number of positive integers less than that are relatively prime to where is a positive integer. Find all pairs of positive integers satisfying
Solution
The answer is and .
For , we have which yields a contradiction.
If is a prime number, then and hence . Therefore .
If where is a prime number, then and we get .
For we have which is possible only when but has no solution in integers. For , we get .
In all the other cases, let be the smallest prime factor of . As , we have and therefore divides . Thus, and is odd. As , where . Since is the smallest prime factor of , we get and hence which is a contradiction.
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.