Browse · MATH
Printjmc
number theory intermediate
Problem
Your friend has an egg collection comprising at least eggs. He wants to store them in dozen-egg containers. After filling as many containers as possible, the last container had egg left over. He then decided to store his eggs in customized baker-dozen-egg containers, where each container can hold eggs. It turns out that, after filling as many of these containers as possible, he still has egg left over. What is the minimum number of eggs that your friend could have?
Solution
We want the smallest integer such that and gives a remainder of when divided by both and . We can write , so now we need to find a sufficiently large value of such that . If , , but when , . Therefore, your friend has eggs.
Final answer
313