Number theoryDifficulty 6.5National olympiadProve itRomania
Determine the integers x and y for which 4x+5y is rational.
Solution
We treat four cases:
I.x,y≥0
4x+5y is rational if and only if 4x+5y is a perfect square, i.e., there exists n∈N such that 4x+5y=n2. Analyzing this equation modulo 3, we have 4x≡1(mod3), 5y≡(−1)y(mod3), and n2≡0,1(mod3), hence y needs to be odd. Let z∈N be such that y=2z+1. The previous equation becomes 4x+5⋅25z=n2.
If x≥2, then 4x≡0(mod8), 5⋅25z≡5(mod8), while n2≡0,1,4(mod8), which means the equation has no solutions in this case. We are left with the cases when x=0 and x=1.
For x=0 we have 4x+5y≡2(mod4), hence 4x+5y cannot be a perfect square.
If x=1, then 5y=(n−2)(n+2), hence there exist a,b∈N, with a+b=y, such that n−2=5a and n+2=5b. By subtraction, 5b−5a=4. If a,b≥1 then 5∣5b−5a, hence 5∣4, contradiction. As a<b, it follows that a=0, then b=1, i.e., y=1. We obtain the solution x=y=1.
II.x,y<0
Let u=−x,v=−y,u,v>0. 4x+5y is rational if and only if there exist p,q∈N∗, coprime, such that 4x+5y=q2p2, i.e., 4u⋅5v4u+5v=q2p2, which means p2⋅4u⋅5v=q2(4u+5v). Numbers 4u⋅5v and 4u+5v are coprime, therefore every prime factor of 4u+5v is a prime factor of p2, which means that it appears at an even exponent. It follows that 4u+5v is a perfect square, and, similarly, 4u⋅5v is a perfect square. From case I it follows that 4u+5v is a perfect square if and only if u=v=1, but then 4u⋅5v=20 is not a perfect square. We conclude that there are no solutions in this case.
III.x<0,y≥0
Let u=−x∈N∗. Then 4x+5y=2u1+4u⋅5y is rational if and only if 1+4u⋅5y is a perfect square, i.e., there exists n∈N such that 1+4u⋅5y=n2. Then 4u⋅5y=(n−1)(n+1). As u>0, n is odd and (n−1,n+1)=2. We distinguish the following sub-cases:
A. n−1=2⋅5y, n+1=22u−1
B. n−1=2, n+1=22u−1⋅5y
C. n−1=22u−1, n+1=2⋅5y
D. n−1=22u−1⋅5y, n+1=2
In sub-case A we obtain 22u−2−5y=1, i.e., (2u−1−1)(2u−1+1)=5y. It follows that 2u−1−1 and 2u−1+1 should be powers of 5, but no two powers of 5 are at distance 2.
Sub-case B leads to n=3 and, immediately, to 4=22u−1⋅5y, with no solutions.
In sub-case C we get 5y−22u−2=1. Then 5y≡(−1)y(mod3) and 22u−2=4u−1≡1(mod3), therefore y needs to be odd. It follows that 5y≡5(mod8), hence 22u−2≡4(mod8), i.e., u=2. We obtain the solution x=−2,y=1.
Sub-case D leads to n=1 and then to 0=22u−1⋅5y, with no solutions.
IV.x≥0,y<0
Let v=−y∈N∗. Then 4x+5y=5v1+4x⋅5v is rational if and only if there exist p,q∈N∗ coprime such that 5v1+4x⋅5v=q2p2, i.e., such that p2⋅5v=q2(1+4x⋅5v). Numbers 1+4x⋅5v and 5v are coprime, hence, as in case I, they need to be perfect squares. We have seen in the previous case that 1+4x⋅5v is a perfect square only when x=2 and v=1, but in this situation 5v=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=1 and x=−2, y=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.