Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

If are non-negative integers less than such that then determine the remainder when is divided by .
Solution
Adding the three congruences gives Adding this to each of the congruences yields Substituting into the second one gives Adding this to results in . Finally Thus, .
Final answer
6