Olympiad Maths Prep

Track / Stage 8 / 109 of 180 #1809 of 2000

Problem 1809

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.4 Prove it 75th NMO Selection Tests · Romania

Determine all positive integers a,b,ca, b, c such that the numbers ab+cab + c, bc+abc + a, and ca+bca + b are powers of 2.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

We will prove that there are only two families of solutions:
(1,1,2x1),(1,2x1,2x+1), (1, 1, 2^x - 1), \quad (1, 2^x - 1, 2^x + 1),
where xx is a positive integer.

*Step I:* a,b,ca, b, c are odd and pairwise coprime in pairs.
It is easy to see that
abc(mod2). a \equiv b \equiv c \pmod{2}.
If a,b,ca, b, c are all even, denote by d,e,fd, e, f the exponents of 2 in their prime factorization, respectively, with 1def1 \le d \le e \le f. Then the exponent of 2 in bc+abc+a is dd. Since bc+abc+a is a power of 2, we get
bc+a=2d, bc + a = 2^d,
which is impossible because 2da2^d \le a. Thus, a,b,ca, b, c must be odd numbers.
If a,ba, b have a common odd prime factor pp, then pp divides ac+bac + b, so ac+bac + b is divisible by pp and thus cannot be a power of 2. Similarly, one shows (a,c)=1(a, c) = 1 and (b,c)=1(b, c) = 1, which completes Step I.

Hence, we can assume abca \le b \le c, where a,b,ca, b, c are odd positive integers pairwise coprime such that
ab+c,ac+b,bc+a ab + c, \quad ac + b, \quad bc + a
are powers of 2. Since abca \le b \le c, we have
ab+cac+bbc+a. ab + c \le ac + b \le bc + a.
*Step II:* a=1a = 1. Suppose, by contradiction, that 1<a1 < a. Then 1<a<b<c1 < a < b < c, and
ab+c=2k,ac+b=2m,bc+a=2n, ab + c = 2^k, \quad ac + b = 2^m, \quad bc + a = 2^n,
with 3k<m<n3 \le k < m < n (since 2k3+5=82^k \ge 3 + 5 = 8).
From the above equalities, we get the congruences:
abc(mod2k),acb(mod2k),bca(mod2k). ab \equiv -c \pmod{2^k}, \quad ac \equiv -b \pmod{2^k}, \quad bc \equiv -a \pmod{2^k}.
Multiplying these congruences and noting that a,b,ca, b, c are odd, we obtain
abc1(mod2k) abc \equiv -1 \pmod{2^k}
and
a2b2c21(mod2k) a^2 \equiv b^2 \equiv c^2 \equiv 1 \pmod{2^k}
(by multiplying the first congruence by cc, the second by bb, and the third by aa).

Since for any odd natural number xx,
gcd(x1,x+1)=2, \gcd(x - 1, x + 1) = 2,
we deduce that
a±1(mod2k1),b±1(mod2k1),c±1(mod2k1). a \equiv \pm 1 \pmod{2^{k-1}}, \quad b \equiv \pm 1 \pmod{2^{k-1}}, \quad c \equiv \pm 1 \pmod{2^{k-1}}.
From these congruences, it follows that
a,b,c2k11. a, b, c \ge 2^{k-1} - 1.
This inequality implies
2k=ab+c(2k11)2+2k11=22k22k1, 2^k = ab + c \ge (2^{k-1} - 1)^2 + 2^{k-1} - 1 = 2^{2k-2} - 2^{k-1},
which means 22k1132 \ge 2^{k-1} - 1 \ge 3, a contradiction since k>3k > 3. Therefore, the assumption is false and a=1a = 1.

Step III: the solutions. If b=1b = 1, then clearly c=2x1c = 2^x - 1. Otherwise, assume a=1a = 1 and 1<b<c1 < b < c. From Step II, we know that c>b2k11c > b \ge 2^{k-1} - 1. Since b+c=2kb + c = 2^k and b,cb, c are odd, the only possibility is b=2k11b = 2^{k-1} - 1, c=2k1+1c = 2^{k-1} + 1.
Hence, the only solutions are: (1,1,2x1)(1, 1, 2^x - 1) and (1,2x1,2x+1)(1, 2^x - 1, 2^x + 1), xNx \in \mathbb{N}^*.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.