18. (NOR) Let be natural numbers with , and . Define the function by Let . Find the smallest natural number such that .
Solution
18. Clearly, it suffices to consider the case . Let be the set of integers such that . Then and . Consequently, . Let us assume for that . Since or , it follows that can be written as , where . Since and are relatively prime, it follows that . Let us now prove that . In this case and hence . Since and , it follows that . Thus for it follows that . For other and we have .
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.