Problem 9.6. The teacher wrote a number on the board. Sasha decided to divide it by 102 with a remainder, and Masha - by 103. It turned out that the quotient obtained by Sasha and the remainder obtained by Masha add up to 20. What remainder did Sasha get? List all possible options.
Solution
Answer: 20.
Solution. Let be the number on the board, divide it by 102 and by 103 with remainders:
Subtract the second equation from the first:
From this, it follows that is divisible by 103. Since , we get that .
Notice also that, for example, for the number , the remainder is indeed possible.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.