Maths Olympiad Prep

Library / /9 of 55

, 2019

Number theory Difficulty 8.0 Shortlist Prove it IMO

Let aa and bb be two positive integers. Prove that the integer
a2+4a2b a^{2} + \left\lceil \frac{4 a^{2}}{b} \right\rceil
is not a square. (Here z\lceil z\rceil denotes the least integer greater than or equal to zz.)

Solutions — 2

Solution 1

Assume, for contradiction, that
a2+4a2b=(a+k)2,or(2a)2b=(2a+k)k. a^{2} + \left\lceil \frac{4 a^{2}}{b} \right\rceil = (a + k)^{2}, \quad \text{or} \quad \left\lceil \frac{(2a)^{2}}{b} \right\rceil = (2a + k)k.
Clearly, k1k \geqslant 1. In other words, the equation
c2b=(c+k)k(1) \left\lceil \frac{c^{2}}{b} \right\rceil = (c + k)k \tag{1}
has a positive integer solution (c,k)(c, k), with an even value of cc.

Choose a positive integer solution of (1) with minimal possible value of kk, without regard to the parity of cc. From
c2b>c2b1=ck+k21ck \frac{c^{2}}{b} > \left\lceil \frac{c^{2}}{b} \right\rceil - 1 = c k + k^{2} - 1 \geqslant c k
and
(ck)(c+k)b<c2bc2b=(c+k)k \frac{(c - k)(c + k)}{b} < \frac{c^{2}}{b} \leqslant \left\lceil \frac{c^{2}}{b} \right\rceil = (c + k)k
it can be seen that c>bk>ckc > b k > c - k, so
c=kb+rwith some 0<r<k. c = k b + r \quad \text{with some} \ 0 < r < k.
By substituting this in (1) we get
c2b=(bk+r)2b=k2b+2kr+r2b \left\lceil \frac{c^{2}}{b} \right\rceil = \left\lceil \frac{(b k + r)^{2}}{b} \right\rceil = k^{2} b + 2 k r + \left\lceil \frac{r^{2}}{b} \right\rceil
and
(c+k)k=(kb+r+k)k=k2b+2kr+k(kr), (c + k)k = (k b + r + k)k = k^{2} b + 2 k r + k(k - r),
so
r2b=k(kr)(2) \left\lceil \frac{r^{2}}{b} \right\rceil = k(k - r) \tag{2}
Notice that relation (2) provides another positive integer solution of (1), namely c=rc' = r and k=krk' = k - r, with c>0c' > 0 and 0<k<k0 < k' < k. That contradicts the minimality of kk, and hence finishes the solution.

Solution 2

Suppose that
a2+4a2b=c2 a^{2} + \left\lceil \frac{4 a^{2}}{b} \right\rceil = c^{2}
with some positive integer c>ac > a, so
c21<a2+4a2bc20c2ba2(b+4)<b \begin{align*} & c^{2} - 1 < a^{2} + \frac{4 a^{2}}{b} \leqslant c^{2} \\ & 0 \leqslant c^{2} b - a^{2}(b + 4) < b \tag{3} \end{align*}
Let d=c2ba2(b+4)d = c^{2} b - a^{2}(b + 4), x=c+ax = c + a and y=cay = c - a; then we have c=x+y2c = \frac{x + y}{2} and a=xy2a = \frac{x - y}{2}, and (3) can be re-written as follows:
(x+y2)2b(xy2)2(b+4)=d,x2(b+2)xy+y2+d=0;0d<b. \begin{align*} \left( \frac{x + y}{2} \right)^{2} b - \left( \frac{x - y}{2} \right)^{2} (b + 4) & = d, \\ x^{2} - (b + 2) x y + y^{2} + d = 0 ; \quad 0 & \leqslant d < b. \tag{4} \end{align*}
So, by the indirect assumption, the equation (4) has some positive integer solution (x,y)(x, y).

Fix bb and dd, and take a pair (x,y)(x, y) of positive integers, satisfying (4), such that x+yx + y is minimal. By the symmetry in (4) we may assume that xy1x \geqslant y \geqslant 1.

Now we perform a usual "Vieta jump". Consider (4) as a quadratic equation in variable xx, and let zz be its second root. By the Vieta formulas,
x+z=(b+2)y,andzx=y2+d x + z = (b + 2) y, \quad \text{and} \quad z x = y^{2} + d
so
z=(b+2)yx=y2+dx z = (b + 2) y - x = \frac{y^{2} + d}{x}
The first formula shows that zz is an integer, and by the second formula zz is positive. Hence (z,y)(z, y) is another positive integer solution of (4). From
(x1)(z1)=xz(x+z)+1=(y2+d)(b+2)y+1<(y2+b)(b+2)y+1=(y1)2b(y1)(y1)2(x1)2 \begin{aligned} (x - 1)(z - 1) & = x z - (x + z) + 1 = (y^{2} + d) - (b + 2) y + 1 \\ & < (y^{2} + b) - (b + 2) y + 1 = (y - 1)^{2} - b(y - 1) \leqslant (y - 1)^{2} \leqslant (x - 1)^{2} \end{aligned}
we can see that z<xz < x and therefore z+y<x+yz + y < x + y. But this contradicts the minimality of x+yx + y among the positive integer solutions of (4).

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.