Maths Olympiad Prep

Library / /26 of 36

Number theory Difficulty 7.0 National Olympiad, round 2 Prove it Italy

Problem:

Sia NN un intero maggiore di 11. Chiamiamo xx il più piccolo intero positivo con la seguente proprietà: esiste un intero positivo yy strettamente minore di x1x-1 tale che xx divide N+yN+y. Dimostrare che xx è il doppio di un numero primo o una potenza di un numero primo.

Nota: si ricorda che xx è una potenza di un numero primo se esistono un primo pp ed un intero positivo n1n \geq 1 tali che x=pnx=p^{n}.

---

Translation:

Let NN be an integer greater than 11. We call xx the smallest positive integer with the following property: there exists a positive integer yy strictly less than x1x-1 such that xx divides N+yN+y. Prove that xx is twice a prime number or a power of a prime number.

Note: recall that xx is a power of a prime number if there exist a prime pp and a positive integer n1n \geq 1 such that x=pnx=p^{n}.

Solution

Solution:

Recall that the notation aba \mid b means that aa divides bb. We say that a pair of positive integers (x,y)(x, y) is nice if xN+yx \mid N+y and 0<y<x10<y<x-1 hold.

The first observation is that, given any positive integer xx', among xx' consecutive integers there is certainly a multiple of xx', so it is always possible to choose (uniquely) an integer yy' in the interval {0,1,,x1}\{0,1, \ldots, x'-1\} such that xN+yx' \mid N+y'. The pair (x,y)(x', y') is then nice provided that yy' is different from 00 and from x1x'-1. Equivalently, xx' is the first member of a nice pair if and only if xx' divides neither N+0=NN+0=N nor N+(x1)N+(x'-1); this second condition is equivalent to the fact that xx' does not divide N1N-1.

Let us now consider the nice pair (x,y)(x, y) for which xx is minimal. By the above observation, xx can divide neither NN nor N1N-1. The conclusion is that there exists some prime power, say pkp^{k}, that divides xx but not NN, and similarly there exists a prime power, say qhq^{h} (not necessarily different from pkp^{k}), that divides xx but not N1N-1. Indeed, if every prime power dividing xx also divided NN, then xx itself would divide NN by unique factorization, but we have already seen that this cannot happen; the same reasoning applies to N1N-1.

Now observe that, if qhq^{h} does not divide NN, then qhq^{h} divides neither NN nor N1N-1, and therefore, by what we have already observed, qhq^{h} is the first member of a nice pair. On the other hand qhq^{h} divides xx, so certainly qhxq^{h} \leq x, and since xx is minimal, we must have x=qhx=q^{h}, a power of a prime, as desired. Similarly, if pkp^{k} does not divide N1N-1, then x=pkx=p^{k} and we are done.

We may therefore assume that pkN1p^{k} \mid N-1 and qhNq^{h} \mid N; in this case pkp^{k} and qhq^{h} are distinct (recall that pkp^{k} does not divide NN) and, since both divide xx, we get x2pk2px \geq 2 p^{k} \geq 2 p, x2qh2qx \geq 2 q^{h} \geq 2 q.

To conclude, we show that in this case one of the numbers 2p2p, 2q2q is the first member of a nice pair, and therefore, by minimality, it must coincide with xx. Indeed, if NN is even then 2p2p works: clearly 2p2p cannot divide N1N-1, which is odd, and pp (and a fortiori 2p2p) cannot divide NN, because by hypothesis pp divides N1N-1 and no prime divides two consecutive numbers. Similarly, if NN is odd then 2q2q works: 2q2q (even) does not divide NN (odd), and 2q2q does not divide N1N-1 because qq divides NN.

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 translated into English from it; metadata (topic, difficulty) added by this project.