Maths Olympiad Prep

Library / /11 of 19

Number theory Difficulty 6.5 National olympiad Prove it Romania

Determine the integers xx and yy for which 4x+5y\sqrt{4^x + 5^y} is rational.

Solution

We treat four cases:

I. x,y0x, y \ge 0

4x+5y\sqrt{4^x + 5^y} is rational if and only if 4x+5y4^x + 5^y is a perfect square, i.e., there exists nNn \in \mathbb{N} such that 4x+5y=n24^x + 5^y = n^2. Analyzing this equation modulo 33, we have 4x1(mod3)4^x \equiv 1 \pmod{3}, 5y(1)y(mod3)5^y \equiv (-1)^y \pmod{3}, and n20,1(mod3)n^2 \equiv 0, 1 \pmod{3}, hence yy needs to be odd. Let zNz \in \mathbb{N} be such that y=2z+1y = 2z + 1. The previous equation becomes 4x+525z=n24^x + 5 \cdot 25^z = n^2.

If x2x \ge 2, then 4x0(mod8)4^x \equiv 0 \pmod{8}, 525z5(mod8)5 \cdot 25^z \equiv 5 \pmod{8}, while n20,1,4(mod8)n^2 \equiv 0, 1, 4 \pmod{8}, which means the equation has no solutions in this case. We are left with the cases when x=0x = 0 and x=1x = 1.

For x=0x = 0 we have 4x+5y2(mod4)4^x + 5^y \equiv 2 \pmod{4}, hence 4x+5y4^x + 5^y cannot be a perfect square.

If x=1x = 1, then 5y=(n2)(n+2)5^y = (n-2)(n+2), hence there exist a,bNa, b \in \mathbb{N}, with a+b=ya + b = y, such that n2=5an-2 = 5^a and n+2=5bn+2 = 5^b. By subtraction, 5b5a=45^b - 5^a = 4. If a,b1a, b \ge 1 then 55b5a5 \mid 5^b - 5^a, hence 545 \mid 4, contradiction. As a<ba < b, it follows that a=0a = 0, then b=1b = 1, i.e., y=1y = 1. We obtain the solution x=y=1x = y = 1.

II. x,y<0x, y < 0

Let u=x,v=y,u,v>0u = -x, v = -y, u, v > 0. 4x+5y\sqrt{4^x + 5^y} is rational if and only if there exist p,qNp, q \in \mathbb{N}^*, coprime, such that 4x+5y=p2q24^x + 5^y = \frac{p^2}{q^2}, i.e., 4u+5v4u5v=p2q2\frac{4^u + 5^v}{4^u \cdot 5^v} = \frac{p^2}{q^2}, which means p24u5v=q2(4u+5v)p^2 \cdot 4^u \cdot 5^v = q^2(4^u + 5^v). Numbers 4u5v4^u \cdot 5^v and 4u+5v4^u + 5^v are coprime, therefore every prime factor of 4u+5v4^u + 5^v is a prime factor of p2p^2, which means that it appears at an even exponent. It follows that 4u+5v4^u + 5^v is a perfect square, and, similarly, 4u5v4^u \cdot 5^v is a perfect square. From case I it follows that 4u+5v4^u + 5^v is a perfect square if and only if u=v=1u = v = 1, but then 4u5v=204^u \cdot 5^v = 20 is not a perfect square. We conclude that there are no solutions in this case.

III. x<0,y0x < 0, y \ge 0

Let u=xNu = -x \in \mathbb{N}^*. Then 4x+5y=1+4u5y2u\sqrt{4^x + 5^y} = \frac{\sqrt{1 + 4^u \cdot 5^y}}{2^u} is rational if and only if 1+4u5y1 + 4^u \cdot 5^y is a perfect square, i.e., there exists nNn \in \mathbb{N} such that 1+4u5y=n21 + 4^u \cdot 5^y = n^2. Then 4u5y=(n1)(n+1)4^u \cdot 5^y = (n-1)(n+1). As u>0u > 0, nn is odd and (n1,n+1)=2(n-1, n+1) = 2. We distinguish the following sub-cases:

A. n1=25yn-1 = 2 \cdot 5^y, n+1=22u1n+1 = 2^{2u-1}

B. n1=2n-1 = 2, n+1=22u15yn+1 = 2^{2u-1} \cdot 5^y

C. n1=22u1n-1 = 2^{2u-1}, n+1=25yn+1 = 2 \cdot 5^y

D. n1=22u15yn-1 = 2^{2u-1} \cdot 5^y, n+1=2n+1 = 2

In sub-case A we obtain 22u25y=12^{2u-2} - 5^y = 1, i.e., (2u11)(2u1+1)=5y(2^{u-1} - 1)(2^{u-1} + 1) = 5^y. It follows that 2u112^{u-1} - 1 and 2u1+12^{u-1} + 1 should be powers of 55, but no two powers of 55 are at distance 22.

Sub-case B leads to n=3n = 3 and, immediately, to 4=22u15y4 = 2^{2u-1} \cdot 5^y, with no solutions.

In sub-case C we get 5y22u2=15^y - 2^{2u-2} = 1. Then 5y(1)y(mod3)5^y \equiv (-1)^y \pmod{3} and 22u2=4u11(mod3)2^{2u-2} = 4^{u-1} \equiv 1 \pmod{3}, therefore yy needs to be odd. It follows that 5y5(mod8)5^y \equiv 5 \pmod{8}, hence 22u24(mod8)2^{2u-2} \equiv 4 \pmod{8}, i.e., u=2u = 2. We obtain the solution x=2,y=1x = -2, y = 1.

Sub-case D leads to n=1n = 1 and then to 0=22u15y0 = 2^{2u-1} \cdot 5^y, with no solutions.

IV. x0,y<0x \ge 0, y < 0

Let v=yNv = -y \in \mathbb{N}^*. Then 4x+5y=1+4x5v5v\sqrt{4^x + 5^y} = \sqrt{\frac{1 + 4^x \cdot 5^v}{5^v}} is rational if and only if there exist p,qNp, q \in \mathbb{N}^* coprime such that 1+4x5v5v=p2q2\frac{1 + 4^x \cdot 5^v}{5^v} = \frac{p^2}{q^2}, i.e., such that p25v=q2(1+4x5v)p^2 \cdot 5^v = q^2(1 + 4^x \cdot 5^v). Numbers 1+4x5v1 + 4^x \cdot 5^v and 5v5^v are coprime, hence, as in case I, they need to be perfect squares. We have seen in the previous case that 1+4x5v1 + 4^x \cdot 5^v is a perfect square only when x=2x = 2 and v=1v = 1, but in this situation 5v=55^v = 5 is not a perfect square. We conclude that in this case there are no solutions.

To summarize, the only solutions to the problem are x=y=1x = y = 1 and x=2x = -2, y=1y = 1.

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 and solution reproduced as published; topic and difficulty added by this site.