For any positive integer , define to be the set of ordered pairs with and such that is divisible by 12. For any nonnegative integer , let denote the number of for which . Find
Solution
Modulo twelve, the first set turns out to be and the second set turns out to be be . We can eliminate the factor of 7 and shift to reduce the problem to and . With this we can easily compute . Therefore, the answer is 26.
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.