Problem 5
Let be a fixed integer. The number is written times on a blackboard. Below the blackboard, there are two buckets that are initially empty. A move consists of erasing two of the numbers and , replacing them with the numbers and , then adding one stone to the first bucket and stones to the second bucket. After some finite number of moves, there are stones in the first bucket and stones in the second bucket, where and are positive integers. Find all possible values of the ratio .
Step 6 of 6: Achieving every rational in [1,n-1)
Detailed analysis
For , a single move already gives . For a general rational : by induction on , for any positive integer one can reach a board with copies of and one copy of using moves and stones in bucket 2 (base case : repeatedly combining with the growing number times gives ; the inductive step applies the size- construction to build twice and then merges the two copies). Afterwards, repeatedly combining with the large number more times adds to both buckets, giving ratio . Choosing makes an integer, and this numerator is positive once is large enough because ; taking such a large gives and realizes the ratio . Hence every rational number in occurs.