Consider the following operation. Given a positive integer , if is a multiple of , then you replace by . If is not a multiple of , then you replace by . Then continue this process. For example, beginning with , this procedure gives . Suppose you start with . What value results if you perform this operation exactly times?
Pick one
Solution
Answer (C): The first several iterations give
The values will then continue to cycle through . Note that the value occurs after operations; the value occurs after operations; and the value occurs after operations. Because has remainder when divided by , the value after operations is .
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.