Browse · MATH
Printjmc
number theory intermediate
Problem
Alicia has candies, where is a positive integer with three digits. If she buys more, she will have a multiple of . If she loses , she will have a multiple of . What is the smallest possible value of ?
Solution
The given information can be expressed by the congruences Since , the above congruences imply . This also implies the original congruences so is of the form for an integer . The first few positive integers of that form are . Thus is the smallest such number with three digits.
Final answer
123