Problem:
Let , be two co-prime positive integers. A number is called good if it can be written in the form for non-negative integers , . Define the function as , where represents the remainder of upon division by . Show that an integer is good if and only if the infinite sequence contains only non-negative integers.
, 2007
Solution
Solution:
If is good then . Also and so
is also good, thus the sequence contains only good numbers which are non-negative.
Now we have to prove that if the sequence contains only non-negative integers then is good. Because the sequence is non-increasing, the sequence will become constant from some point onwards. But implies that is a multiple of , thus some term of the sequence is good. We are done if we prove the following:
Lemma: is good implies is good.
Proof of Lemma: and because . Similarly .
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.