AMC 12 Mock Exam 7 Problem 2
Problem 2 of 25
A farmer has more than eggs. If she packs them in cartons of , every carton is full except the last, which holds only eggs. With cartons of , every carton is full except the last, which holds only ; with cartons of , every carton is full except the last, which holds only . Set out in rows of , the eggs leave over. What is the least number of eggs the farmer could have?
Answer choices
Show solution
Solution
Let be the number of eggs. The carton conditions say , , and ; in each case is a multiple of the carton size. So is a multiple of , i.e., . Above these numbers are , with remainders on division by . The first with remainder is . (In general , giving , , , …)
(Using in place of the lcm gives , and the first such number above with remainder is : it satisfies every condition but is not the least. The choices , , satisfy the carton conditions but not the rows of .)
Tagged: remainders and the Chinese remainder theorem (story)