Master Mathematics.

Number Theory · Hard · Divisibility & Primes · Problem 2

Nice rearrangements

Let be a positive integer. Call a rearrangement of *nice* if for every , the sum is not divisible by .

(a) If is odd, prove that there is no nice rearrangement of .

(b) If is even, find a nice rearrangement of .

Source: RMO