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 1 of 5: The multiples of permute
In plain words
Multiplying by modulo just relabels the numbers in a new order, like shuffling a deck without losing or duplicating any card, precisely because shares no common factor with .
Detailed analysis
Since , multiplication by is a bijection on residues mod ; write for the representative of lying in (nonzero because and force ). As ranges over , the values run through all of exactly once, in some order.