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 2 of 5: Two ways consecutive residues can differ
In plain words
Walking from one labeled point to the next around the cycle of residues, each step is a jump of size — except that once you pass the top of the cycle (), you land lower than the plain sum suggests.
Detailed analysis
By definition , and since both , the actual (non-modular) difference is either exactly , or (when adding overshoots past and wraps around).