On the board is written a (not necessarily positive) integer. In a move, if the current number on the board is , one erases it and replaces it by either or or . Is there a starting number such that for any positive integer one can reach from with finitely many moves?
Solution
Note that all of numbers of form and cannot be represented as or . We can check this claim by consider modulo 7 and 17. Indeed,
* If then is quadratic residue modulo 7, clearly absurd since quadratic residue modulo 7 are 0, 1, 2, 4.
* If then 3 is a quadratic residue modulo 17, also absurd.
* If then is quadratic residue modulo 17, also absurd.
* If then is quadratic residue modulo 7, also absurd.
So if we consider the first number in one of the above forms in which we run into when going backwards, it turns out that we can only shift by multiples of 117 and hence cannot obtain any number of the other form. ☐
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.