Problem 2
Let and be relatively prime positive integers with . The set is colored so that each number is either blue or white, subject to: (i) for each , the numbers and have the same color; and (ii) for each with , the numbers and have the same color. Prove that all the numbers in must have the same color.
Step 5 of 5: Chain the equalities across the whole cycle
In plain words
Once every consecutive pair along the cycle is forced to match, the whole cycle collapses to a single color, the same way a chain of dominoes toppling one after another ends up all lying the same way.
Detailed analysis
Steps 3–4 show for every . Chaining these equalities shows all of share one color. Since these are exactly the elements of (each appearing once, by Step 1), every number in has the same color.