Problem:
For positive integers and , let denote the remainder of when divided by . Determine the number of positive integers for which
, 2017
Solution
Solution:
Answer: 499500
Note that and . Consider the ways to choose pairs such that . By the Chinese Remainder Theorem, there is exactly one such that such that and . Finally, it is easy to check that none of the in the range to satisfy the condition, so the answer is exactly .
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.