Solution: Day 4, problem 3
Obviously the thickness and radius of the pie play no role, all the action taking place along the circumference,
which we can identify with T = R/Z.
Hence we can restate the problem more mathematically as follows:
Given two numbers strictly between 0 and 1, show that the piecewise linear map : T to T defined by if and if , has finite order. We first show that for any in T there is a positive integer with , and then show that is bounded. (This proves the assertion of the problem since then the least common multiple of all the 's is a period for .)
We distinguish two cases. If is disjoint from (which can only happen if is rational, since otherwise is dense in R/Z), then for all and therefore where is the denominator of . If not, then there are integers and such that and belong to . Choose them minimal.
Then belongs to an orbit of of length , consisting of the points followed by the points . It remains only to show that the integer is bounded.
This integer has the property that there is an element of (namely, ) such that is in but is not in for . If is rational, then clearly is bounded by the denominator of . If not, then there is a positive integer such that is congruent modulo 1 to a number between 0 and .
Then the sequence advances in steps of , so must meet after at
most steps, giving for an upper bound which is independent of .