The numbers , , , are written on a board. Some of them are erased and the remainder of their sum divided with is written on the board. After a finite number of repetition of the above procedure only three numbers have left, two of which are and . What is the third number?
Solution
Let be the third number. After every procedure the remainder of the sum of the numbers on the board divided with is unchanged.
divided with has remainder .
Hence divided with has remainder . Now has remainder and and are not remainders, follows that i.e. .
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.