Problem:
A combination lock has a 3 number combination, with each number an integer between and inclusive. Call the numbers , , and . If you know that and leave the same remainder when divided by , and and leave the same remainder when divided by , how many possible combinations are there?
Solution
Solution:
There are choices for the last number, and for each of these we have choices for each of the first two numbers, thus giving us a total of possible combinations. It is interesting to note that these restrictions are actually true for Master locks.
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.