Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory junior

Problem

What is the smallest positive integer that leaves a remainder of 4 when divided by 5 and a remainder of 6 when divided by 7?
Solution
Let the desired number be . Then The first congruence means that there exists a non-negative integer such that . Substituting this into the second congruence yields So has a lower bound of . Then . is the smallest solution since it is a lower bound of and satisfies both original congruences.
Final answer
34