Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

What is the least positive integer that satisfies the following conditions?

a) When divided by 2, the remainder is 1.

b) When divided by 3, the remainder is 2.

c) When divided by 4, the remainder is 3.

d) When divided by 5, the remainder is 4.
Solution
Let the smallest common solution be . The given system of congruences is Note that if , then as well, so we need only consider the final three congruences. Since , we have that is, .

So has a lower bound of , but also happens to satisfy all of the original congruences. Thus, .
Final answer
59