Maths Olympiad Prep

Library / /325 of 520

Number theory Difficulty 6.2 National olympiad Prove it

Example 36([26.2]) Let n,kn, k be positive integers, kk and nn are coprime, and satisfy 0<k<n0<k<n. Let the set M={1,2,,n1}M=\{1,2, \cdots, n-1\}. Now, each number ii in set MM is painted blue or white, satisfying the following conditions:
(i) ii and nin-i must be painted the same color;
(ii) When iki \neq k, ii and ki|k-i| must be painted the same color. Prove: All numbers are painted the same color.

Solution

Solution: See Chapter 3 § 2 Example 1. Here we need to use the property of the theory of divisibility: kk and nn are coprime if and only if there exist integers x,yx, y such that kx+ny=1k x + n y = 1 (Chapter 1 § 3 Theorem 5 or § 4 Theorem 8).

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.