Maths Olympiad Prep

Library / /28 of 46

, 2022

Number theory Difficulty 6.4 National Olympiad Prove it Japan

Determine all pairs of positive integers (x,y)(x, y) which satisfy 3x8y=2xy+13^x - 8^y = 2xy + 1.

Solution

For a prime pp and a positive integer nn, denote by ordpn\text{ord}_p n the largest nonnegative integer ii such that pip^i divides nn.

First we consider the case y0(mod2)y \equiv 0 \pmod 2. Since 3z=8y+2xy+11(mod4)3^z = 8^y + 2xy + 1 \equiv 1 \pmod 4, xx is even. Write x=2zx = 2z and y=2wy = 2w for positive integers zz and ww, and we have 8zw+1=32z82w=(3z8w)(3z+8w)3z+8w8zw + 1 = 3^{2z} - 8^{2w} = (3^z - 8^w)(3^z + 8^w) \ge 3^z + 8^w. 3z8w>03^z - 8^w > 0 shows z>wz > w, hence we have 8z2+1>8zw+1>3z8z^2 + 1 > 8zw + 1 > 3^z. If z6z \ge 6, by the binomial theorem we have
3z=(2+1)z2z2zC2+2z1z+2z>16zC2+32z+1>8z2+1, 3^z = (2+1)^z \ge 2^{z-2} \cdot {}_zC_2 + 2^{z-1}z + 2^z > 16 \cdot {}_zC_2 + 32z + 1 > 8z^2 + 1,
which is absurd. If z=5z = 5, 3z>8z2+13^z > 8z^2 + 1 holds. It follows that z=1,2,3,4z = 1, 2, 3, 4 is necessary. Since 949z>64w9^4 \ge 9^z > 64^w, w=1,2w = 1, 2 is necessary. Moreover, 3z+8w8zw+1653^z + 8^w \le 8zw + 1 \le 65 shows that w=1w = 1 is necessary. Among z=1,2,3,4z = 1, 2, 3, 4, only z=2z = 2 satisfies 9z=8z+659^z = 8z + 65. Therefore the solution in this case is (z,w)=(2,1)(z, w) = (2, 1), that is, (x,y)=(4,2)(x, y) = (4, 2).

Next we consider the case y1(mod2)y \equiv 1 \pmod 2. From 8y+1=3z2xy8^y + 1 = 3^z - 2xy we have ord3(8y+1)=ord3(3z2xy)\text{ord}_3(8^y + 1) = \text{ord}_3(3^z - 2xy). Here we use the following lemma:
Lemma. For any positive odd integer yy, ord3(8y+1)=ord3y+2\text{ord}_3(8^y + 1) = \text{ord}_3 y + 2.
Proof. We proceed by induction on yy. If y=1y = 1, ord3(8y+1)=ord3y+2=2\text{ord}_3(8^y + 1) = \text{ord}_3 y + 2 = 2, thus the claim is true. Let 3\ell \ge 3 be an odd integer and assume that the claim is true for y<y < \ell.
If \ell is not a multiple of 3, we can write =3k+r\ell = 3k+r with a nonnegative integer kk and r{1,2}r \in \{1, 2\}. Then we have 8=8r×512k(1)k8r(mod27)8^\ell = 8^r \times 512^k \equiv (-1)^k 8^r \pmod{27}. Since r{1,2}r \in \{1, 2\}, 8+1≢0(mod27)8^\ell + 1 \not\equiv 0 \pmod{27}. On the other hand, since \ell is odd we have 8+10(mod9)8^\ell + 1 \equiv 0 \pmod 9, thus ord3(8+1)=2\text{ord}_3(8^\ell + 1) = 2. Therefore the claim is true when \ell is not a multiple of 3.
If \ell is a multiple of 3, we can write =3k\ell = 3k for a positive odd integer kk. Then we have ord3(8+1)=ord3(8k+1)+ord3(64k8k+1)\text{ord}_3(8^\ell + 1) = \text{ord}_3(8^k + 1) + \text{ord}_3(64^k - 8^k + 1), for 8+1=(8k+1)(64k8k+1)8^\ell + 1 = (8^k + 1)(64^k - 8^k + 1). Since k<k < \ell, inductive hypothesis shows that ord3(8k+1)=ord3k+2\text{ord}_3(8^k + 1) = \text{ord}_3 k + 2. From 64k8k+13(mod9)64^k - 8^k + 1 \equiv 3 \pmod 9 we have ord3(64k8k+1)=1\text{ord}_3(64^k - 8^k + 1) = 1. It follows that ord3(8+1)=ord3k+3=ord3+2\text{ord}_3(8^\ell + 1) = \text{ord}_3 k + 3 = \text{ord}_3 \ell + 2. Therefore the claim is also true when \ell is a multiple of 3 and the induction is complete. \blacksquare

Since 0<3z2xy<3z0 < 3^z - 2xy < 3^z we have ord3(3z2xy)<x\text{ord}_3(3^z - 2xy) < x. This and the lemma show that ord32xy=ord3(3z2xy)=ord3y+2\text{ord}_3 2xy = \text{ord}_3(3^z - 2xy) = \text{ord}_3 y + 2, thus we have ord3x=2\text{ord}_3 x = 2. Hence xx is a multiple of 9 and can be written as x=3vx = 3v where vv is a multiple of 3. Then we have 6vy+1=33v23v=(3v2v)(9v+3v2v+4v)>9v6vy + 1 = 3^{3v} - 2^{3v} = (3^v - 2^v)(9^v + 3^v \cdot 2^v + 4^v) > 9^v. From 3v2v>03^v - 2^v > 0, we have 2v>y2v > y and 12v2+1>6vy+1>9v12v^2 + 1 > 6vy + 1 > 9^v holds. Since v3v \ge 3, the binomial theorem shows that
9v=(8+1)v64vC2+8v+1>12v2+1, 9^v = (8+1)^v \ge 64 \cdot {}_vC_2 + 8v + 1 > 12v^2 + 1,
which is a contradiction. As a result, there exist no solutions when yy is odd.
From above, the answer is (x,y)=(4,2)(x, y) = (4, 2).

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.