For arbitrary positive integers , denote .
Let be a positive integer. Prove that the following conditions are equivalent:
(i) for every positive integer ;
(ii) where is a prime number and is a non-negative integer.
, 2010
Solution
Note at first that for all positive integers , and . Indeed,
Show now that if is a prime power and , then is relatively prime to . Indeed, let where is a prime number, and let where . Then implies . Now
because by the choice of . Also, for the same reason, , hence .
It remains to show that if is not a prime power, then there exists a positive integer such that and the integers and share a common prime factor. Since is not a prime power, it has at least two different prime factors. Let and be some prime factors of , whereby . Let where . Take . As is divisible by both and which are relatively prime, it is also divisible by their product . Consequently, , i.e., . Now
since . We see that and have a common prime factor .
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.