Maths Olympiad Prep

Library / /1 of 6

, 2009

Number theory Difficulty 7.9 National Olympiad, round 2 Prove it United States

Let nn be a positive integer and let a1,,aka_1, \dots, a_k (k2k \ge 2) be distinct integers in the set {1,,n}\{1, \dots, n\} such that nn divides ai(ai+11)a_i(a_{i+1} - 1) for i=1,,k1i = 1, \dots, k-1. Prove that nn does not divide ak(a11)a_k(a_1 - 1).

Solution

Assume on the contrary that nn divides ak(a11)a_k(a_1 - 1). Then nn divides ai(ai+11)a_i(a_{i+1} - 1) for i1i \ge 1 (where ak+j=aja_{k+j} = a_j); that is, aiaiai+1(modn)a_i \equiv a_i a_{i+1} \pmod{n} for all i1i \ge 1. It follows that
aiaiai+1aiai+1ai+2aiai+1ai+k1a1a2ak(modn). a_i \equiv a_i a_{i+1} \equiv a_i a_{i+1} a_{i+2} \equiv \dots \equiv a_i a_{i+1} \dots a_{i+k-1} \equiv a_1 a_2 \dots a_k \pmod{n}.
Therefore, we have aiaj(modn)a_i \equiv a_j \pmod{n} for every pair of positive integers ii and jj. On the other hand, aiaj<n|a_i - a_j| < n. We conclude that ai=aja_i = a_j, violating the given condition that a1,a2,,aka_1, a_2, \dots, a_k are distinct.

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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.