Maths Olympiad Prep

Library / Japan competition problems /25 of 38

Japan competition problems, 2022

Number theory Difficulty 6.4 National Olympiad Prove it Japan

Determine all pairs of positive integers (x,y)(x, y) which satisfy 3x−8y=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 y≡0(mod2)y \equiv 0 \pmod 2. Since 3z=8y+2xy+1≡1(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=32z−82w=(3z−8w)(3z+8w)≥3z+8w8zw + 1 = 3^{2z} - 8^{2w} = (3^z - 8^w)(3^z + 8^w) \ge 3^z + 8^w. 3z−8w>03^z - 8^w > 0 shows z>wz > w, hence we have 8z2+1>8zw+1>3z8z^2 + 1 > 8zw + 1 > 3^z. If z≥6z \ge 6, by the binomial theorem we have
3z=(2+1)z≥2z−2⋅zC2+2z−1z+2z>16⋅zC2+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 94≥9z>64w9^4 \ge 9^z > 64^w, w=1,2w = 1, 2 is necessary. Moreover, 3z+8w≤8zw+1≤653^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 y≡1(mod2)y \equiv 1 \pmod 2. From 8y+1=3z−2xy8^y + 1 = 3^z - 2xy we have ord3(8y+1)=ord3(3z−2xy)\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ℓ+1≡0(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(64k−8k+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)(64k−8k+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 64k−8k+1≡3(mod9)64^k - 8^k + 1 \equiv 3 \pmod 9 we have ord3(64k−8k+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<3z−2xy<3z0 < 3^z - 2xy < 3^z we have ord3(3z−2xy)<x\text{ord}_3(3^z - 2xy) < x. This and the lemma show that ord32xy=ord3(3z−2xy)=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=33v−23v=(3v−2v)(9v+3v⋅2v+4v)>9v6vy + 1 = 3^{3v} - 2^{3v} = (3^v - 2^v)(9^v + 3^v \cdot 2^v + 4^v) > 9^v. From 3v−2v>03^v - 2^v > 0, we have 2v>y2v > y and 12v2+1>6vy+1>9v12v^2 + 1 > 6vy + 1 > 9^v holds. Since v≥3v \ge 3, the binomial theorem shows that
9v=(8+1)v≥64⋅vC2+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,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.