Maths Olympiad Prep

Library / USA IMO /24 of 29

USA IMO

Number theory Difficulty 8.8 Shortlist Prove it United States

Let SS be a set of integers (not necessarily positive) such that

a. there exist a,b∈Sa, b \in S with gcd⁡(a,b)=gcd⁡(a−2,b−2)=1\gcd(a, b) = \gcd(a - 2, b - 2) = 1;

b. if xx and yy are elements of SS (possibly equal), then x2−yx^2 - y also belongs to SS.

Prove that SS is the set of all integers.

Solutions — 2

Solution 1

In the solution below we use the expression SS is stable under x↦f(x)x \mapsto f(x) to mean that if tt belongs to SS, then f(t)f(t) also belongs to SS. If c,d∈Sc, d \in S, then by condition (b), SS is stable under x↦c2−xx \mapsto c^2 - x and x↦d2−xx \mapsto d^2 - x. Hence, it is stable under x↦c2−(d2−x)=x+(c2−d2)x \mapsto c^2 - (d^2 - x) = x + (c^2 - d^2). Similarly, SS is stable under x↦x+(d2−c2)x \mapsto x + (d^2 - c^2). Hence, SS is stable under x↦x+nx \mapsto x + n and x↦x−nx \mapsto x - n, whenever nn is an integer linear combination of finitely many numbers in T={c2−d2∣c,d∈S}T = \{c^2 - d^2 \mid c, d \in S\}.

By condition (a), S≠∅S \neq \emptyset and hence T≠∅T \neq \emptyset as well. For the sake of contradiction, assume that some pp divides every element in TT. Then c2−d2≡0(modp)c^2 - d^2 \equiv 0 \pmod{p} for all c,d∈Sc, d \in S. In other words, for each c,d∈Sc, d \in S, either d≡c(modp)d \equiv c \pmod{p} or d≡−c(modp)d \equiv -c \pmod{p}. Given c∈Sc \in S, c2−c∈Sc^2 - c \in S, by condition (b), so c2−c≡c(modp)c^2 - c \equiv c \pmod{p} or c2−c≡−c(modp)c^2 - c \equiv -c \pmod{p}. Hence,
c≡0(modp) or c≡2(modp)(∗) c \equiv 0 \pmod{p} \text{ or } c \equiv 2 \pmod{p} \quad (*)
for each c∈Sc \in S. By condition (a), there exist some aa and bb in SS such that gcd⁡(a,b)=1\gcd(a, b) = 1, that is, at least one of aa or bb cannot be divisible by pp. Denote such an element of SS by α\alpha; thus, α≢0(modp)\alpha \not\equiv 0 \pmod{p}. Similarly, by condition (a), gcd⁡(a−2,b−2)=1\gcd(a - 2, b - 2) = 1, so pp cannot divide both a−2a - 2 and b−2b - 2. Thus, there is an element of SS, call it β\beta, such that β≢2(modp)\beta \not\equiv 2 \pmod{p}. By (*), α≡2(modp)\alpha \equiv 2 \pmod{p} and β≡0(modp)\beta \equiv 0 \pmod{p}. By condition (b), β2−α∈S\beta^2 - \alpha \in S. Taking c=β2−αc = \beta^2 - \alpha in (*) yields either −2≡0(modp)-2 \equiv 0 \pmod{p} or −2≡2(modp)-2 \equiv 2 \pmod{p}, so p=2p = 2. Now (*) says that all elements of SS are even, contradicting condition (a). Hence, our assumption is false and no prime divides every element in TT.

It follows that T≠{0}T \neq \{0\}. Let xx be an arbitrary nonzero element of TT. For each prime divisor of xx, there exists an element in TT which is not divisible by that prime. The set AA consisting of xx and each of these elements is finite. By construction, gcd{y∣y∈A}=1\text{gcd}\{y \mid y \in A\} = 1, and 11 can be written as an integer linear combination of finitely many elements in AA and hence in TT. Therefore, SS is stable under x↦x+1x \mapsto x+1 and x↦x−1x \mapsto x-1. Because SS is nonempty, it follows that SS is the set of all integers.

Solution 2

Define TT, aa, and bb as in the first solution. We present another proof that no prime divides every element in TT. Suppose, for sake of contradiction, that such a prime pp does exist. By condition (b), a2−a,b2−b∈Sa^2 - a, b^2 - b \in S. Therefore, pp divides a2−b2a^2 - b^2, x1=(a2−a)2−a2x_1 = (a^2 - a)^2 - a^2, and x2=(b2−b)2−b2x_2 = (b^2 - b)^2 - b^2. Because gcd(a,b)=1\text{gcd}(a, b) = 1, both gcd(a2−b2,a3)\text{gcd}(a^2 - b^2, a^3) and gcd(a2−b2,b3)\text{gcd}(a^2 - b^2, b^3) equal 1, so pp does not divide a3a^3 or b3b^3. But pp does divide x1=a3(a−2)x_1 = a^3(a - 2) and x2=b3(b−2)x_2 = b^3(b - 2), so it must divide a−2a - 2 and b−2b - 2. Because gcd(a−2,b−2)=1\text{gcd}(a - 2, b - 2) = 1 by condition (a), this implies p∣1p \mid 1, a contradiction. Therefore our original assumption was false, and no such pp exists.

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

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.