Skip to main content
OlympiadHQ

Browse · MathNet

Print

Mathematical Olympiad Rioplatense

Argentina number theory

Problem

Let be the remainders of an odd positive integer upon division by . It is known that they are pairwise distinct and one of them is . Find all values of for which it is possible that .
Solution
Let be the odd integer; then the first remainder equals . Next, cannot hold for all or else no is . Let be the first number such that . Then for , so because the are pairwise distinct. On the other hand ,

hence implies . Thus remainder is obtained upon division by the least such that . Observe now that is a prime. If is a proper divisor of then , hence by the minimality of . However divides and divides (as ), so divides , yielding which is false. So is a prime. Next we show that . Suppose not; then and we determine directly. Since divides and is odd, one can write for some integer . Then and because , it follows that . However look also at . It is different from (the remainders ) and does not exceed . Because and , the only remaining possibility is . Hence for some integer . But and are both even as is odd; so is even which is a contradiction. We proved that is a prime greater than . Conversely, every prime serves the purpose for a suitable odd . Let be the least common multiple of . Consider for . Because is coprime to due to , there is an such that is divisible by . Set , then divides , so . Also each divides and hence also . Thus is congruent to modulo , meaning that . The numbers are pairwise distinct and one of them is . The answer is: all primes between and .
Final answer
all primes p with 500 < p < 1000

Techniques

Inverses mod nLeast common multiples (lcm)Prime numbers